diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-12 23:59:26 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-13 00:25:21 +0400 |
commit | 7803a85d2ced092fbd8e0f1bde0944bd27f8d649 (patch) | |
tree | 31ad9658fc80921b787ff1d990106731c0040278 /test/integration/mastodon_websocket_test.exs | |
parent | c74018e6a7a19a40a75c343ddadc199d9990597e (diff) | |
download | pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.tar.gz pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.zip |
Add OpenAPI spec for StatusController
Diffstat (limited to 'test/integration/mastodon_websocket_test.exs')
-rw-r--r-- | test/integration/mastodon_websocket_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/mastodon_websocket_test.exs b/test/integration/mastodon_websocket_test.exs index f61150cd2..ea17e9feb 100644 --- a/test/integration/mastodon_websocket_test.exs +++ b/test/integration/mastodon_websocket_test.exs @@ -55,7 +55,7 @@ defmodule Pleroma.Integration.MastodonWebsocketTest do test "receives well formatted events" do user = insert(:user) {:ok, _} = start_socket("?stream=public") - {:ok, activity} = CommonAPI.post(user, %{"status" => "nice echo chamber"}) + {:ok, activity} = CommonAPI.post(user, %{status: "nice echo chamber"}) assert_receive {:text, raw_json}, 1_000 assert {:ok, json} = Jason.decode(raw_json) |