diff options
| author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-16 14:25:55 +0300 | 
|---|---|---|
| committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-16 14:25:55 +0300 | 
| commit | f0651730bdf018b713e21ce718719c7781398362 (patch) | |
| tree | 836e0fbcbb49f0ae78635a268e30013c0e94aea7 /test/web/media_proxy | |
| parent | 98ed0d1c4bd2db354154cc4a1d1e6530eb68f499 (diff) | |
| parent | c2527b8c63a4e35b121981efe2c39cc54c77648d (diff) | |
| download | pleroma-f0651730bdf018b713e21ce718719c7781398362.tar.gz pleroma-f0651730bdf018b713e21ce718719c7781398362.zip  | |
Merge branch 'develop' into gun
Diffstat (limited to 'test/web/media_proxy')
| -rw-r--r-- | test/web/media_proxy/media_proxy_controller_test.exs | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/test/web/media_proxy/media_proxy_controller_test.exs b/test/web/media_proxy/media_proxy_controller_test.exs index f035dfeee..7ac7e4af1 100644 --- a/test/web/media_proxy/media_proxy_controller_test.exs +++ b/test/web/media_proxy/media_proxy_controller_test.exs @@ -52,9 +52,8 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyControllerTest do      url = Pleroma.Web.MediaProxy.encode_url("https://google.fn/test.png")      invalid_url = String.replace(url, "test.png", "test-file.png")      response = get(conn, invalid_url) -    html = "<html><body>You are being <a href=\"#{url}\">redirected</a>.</body></html>"      assert response.status == 302 -    assert response.resp_body == html +    assert redirected_to(response) == url    end    test "it performs ReverseProxy.call when signature valid", %{conn: conn} do  | 
