Fix typo in test
authorhref <href@random.sh>
Tue, 12 May 2020 16:51:10 +0000 (18:51 +0200)
committerhref <href@random.sh>
Tue, 12 May 2020 16:51:10 +0000 (18:51 +0200)
test/integration/mastodon_websocket_test.exs

index 63f351a802020650b74bba35701868743145fd04..f61150cd27720c1db0821447717930b9c3b9935b 100644 (file)
@@ -118,7 +118,7 @@ defmodule Pleroma.Integration.MastodonWebsocketTest do
       assert {:ok, _} = start_socket("?stream=user", [{"Sec-WebSocket-Protocol", token.token}])
 
       assert capture_log(fn ->
-               assert {:error, {401, "Forbidden"}} =
+               assert {:error, {401, _}} =
                         start_socket("?stream=user", [{"Sec-WebSocket-Protocol", "I am a friend"}])
 
                Process.sleep(30)