summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/notification_controller_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-05-01 18:45:24 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-05-01 18:45:24 +0300
commitd5cdc907e3fda14c2ce78ddbb124739441330ecc (patch)
treee6d214d87f18a7389f42049e5bae244e4d99aa77 /test/web/mastodon_api/controllers/notification_controller_test.exs
parented4e9e6435cdc4740cf12464f01ffdb5a6a96583 (diff)
downloadpleroma-d5cdc907e3fda14c2ce78ddbb124739441330ecc.tar.gz
pleroma-d5cdc907e3fda14c2ce78ddbb124739441330ecc.zip
Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
Added support for :skip_notifications for accounts listing (index.json). Adjusted tests.
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 db380f76a..e2d98ef3e 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)