summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/notification_controller_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-17 07:26:51 +0000
committerlain <lain@soykaf.club>2020-05-17 07:26:51 +0000
commit4b28d812cff3d8c1f6e78ab7a975ae8552bfc0ef (patch)
tree0680c83f613bd0a6a14f33cfe42a9b4493fa31a1 /test/web/mastodon_api/controllers/notification_controller_test.exs
parentd96f8f17e82147c50b3413c3739f5023a5daa834 (diff)
parent8062d590ddf3798616fe66e99574f925cc3b8c5e (diff)
downloadpleroma-4b28d812cff3d8c1f6e78ab7a975ae8552bfc0ef.tar.gz
pleroma-4b28d812cff3d8c1f6e78ab7a975ae8552bfc0ef.zip
Merge branch 'restricted-relations-embedding' into 'develop'
Restricted support for embedded relationships See merge request pleroma/pleroma!2456
Diffstat (limited to 'test/web/mastodon_api/controllers/notification_controller_test.exs')
-rw-r--r--test/web/mastodon_api/controllers/notification_controller_test.exs4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/web/mastodon_api/controllers/notification_controller_test.exs b/test/web/mastodon_api/controllers/notification_controller_test.exs
index d9356a844..562fc4d8e 100644
--- a/test/web/mastodon_api/controllers/notification_controller_test.exs
+++ b/test/web/mastodon_api/controllers/notification_controller_test.exs
@@ -12,9 +12,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationControllerTest do
import Pleroma.Factory
- test "does NOT render account/pleroma/relationship if this is disabled by default" do
- clear_config([:extensions, :output_relationships_in_statuses_by_default], false)
-
+ test "does NOT render account/pleroma/relationship by default" do
%{user: user, conn: conn} = oauth_access(["read:notifications"])
other_user = insert(:user)