summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhref <href@random.sh>2020-05-12 18:51:10 +0200
committerhref <href@random.sh>2020-05-12 18:51:10 +0200
commit68cca29dcf87d68be82c0287f3803847abd54353 (patch)
tree3d0374c4d8d00a7c1a7a1fa5c99fe25ae4d2ae77 /test
parente6d8cacf2de4ba48b881a390b0ba4582981d17a5 (diff)
downloadpleroma-68cca29dcf87d68be82c0287f3803847abd54353.tar.gz
pleroma-68cca29dcf87d68be82c0287f3803847abd54353.zip
Fix typo in test
Diffstat (limited to 'test')
-rw-r--r--test/integration/mastodon_websocket_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/mastodon_websocket_test.exs b/test/integration/mastodon_websocket_test.exs
index 63f351a80..f61150cd2 100644
--- a/test/integration/mastodon_websocket_test.exs
+++ b/test/integration/mastodon_websocket_test.exs
@@ -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)