projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API compatibility with fedibird, frontend config (#163)
[akkoma]
/
test
/
pleroma
/
integration
/
mastodon_websocket_test.exs
diff --git
a/test/pleroma/integration/mastodon_websocket_test.exs
b/test/pleroma/integration/mastodon_websocket_test.exs
index 4a7dbda71aa916d50c307c9ec98b99099298c46a..356bfa48df480934ea6d60ac34f2e79fb3a2a5dc 100644
(file)
--- a/
test/pleroma/integration/mastodon_websocket_test.exs
+++ b/
test/pleroma/integration/mastodon_websocket_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Integration.MastodonWebsocketTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Integration.MastodonWebsocketTest do
@@
-31,9
+31,9
@@
defmodule Pleroma.Integration.MastodonWebsocketTest do
WebsocketClient.start_link(self(), path, headers)
end
WebsocketClient.start_link(self(), path, headers)
end
- test "
refuses invalid request
s" do
+ test "
allows multi-stream
s" do
capture_log(fn ->
capture_log(fn ->
- assert {:
error, {404, _}
} = start_socket()
+ assert {:
ok, _
} = start_socket()
assert {:error, {404, _}} = start_socket("?stream=ncjdk")
Process.sleep(30)
end)
assert {:error, {404, _}} = start_socket("?stream=ncjdk")
Process.sleep(30)
end)