summaryrefslogtreecommitdiff
path: root/test/integration/mastodon_websocket_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-09-09 21:49:02 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-09-27 10:51:15 +0700
commit98d1347a4ea1c296d2f07b9467addc56ef2dc676 (patch)
tree0e8744a5f89f101a659243d25b24d307cff47877 /test/integration/mastodon_websocket_test.exs
parent219771288c0cf40f2164972e70571ff42153570a (diff)
downloadpleroma-98d1347a4ea1c296d2f07b9467addc56ef2dc676.tar.gz
pleroma-98d1347a4ea1c296d2f07b9467addc56ef2dc676.zip
Extract status actions from `MastodonAPIController` into `StatusController`
Diffstat (limited to 'test/integration/mastodon_websocket_test.exs')
-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 ed7ce8fe0..63fce07bb 100644
--- a/test/integration/mastodon_websocket_test.exs
+++ b/test/integration/mastodon_websocket_test.exs
@@ -68,7 +68,7 @@ defmodule Pleroma.Integration.MastodonWebsocketTest do
assert {:ok, json} = Jason.decode(json["payload"])
view_json =
- Pleroma.Web.MastodonAPI.StatusView.render("status.json", activity: activity, for: nil)
+ Pleroma.Web.MastodonAPI.StatusView.render("show.json", activity: activity, for: nil)
|> Jason.encode!()
|> Jason.decode!()