mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 10:58:42 +00:00
Skip nitter in tests
Nitter has been gone for a while, so it's now excluded from tests related to redirecting functionality. Since other instances occasionally pop up still, it's being kept in Farside for now.
This commit is contained in:
parent
5dcc7a2041
commit
4081ab63ce
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@ defmodule FarsideTest do
|
||||||
|
|
||||||
IO.puts("")
|
IO.puts("")
|
||||||
|
|
||||||
Enum.map(service_names, fn service_name ->
|
service_names |>
|
||||||
|
Enum.filter(fn service_name -> service_name != "nitter" end) |>
|
||||||
|
Enum.map(fn service_name ->
|
||||||
conn = test_conn("/#{service_name}")
|
conn = test_conn("/#{service_name}")
|
||||||
first_redirect = elem(List.last(conn.resp_headers), 1)
|
first_redirect = elem(List.last(conn.resp_headers), 1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue