summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-09-17 14:54:00 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-09-17 14:54:00 +0300
commit44e8b6037ae71881327451dcf7d9351f1ba82674 (patch)
treed78e161239f819c3310248f3d1685bc481f0504c /test/web/mastodon_api/views
parentc5830ac037c0c344bd22b674c41f4dc244a088aa (diff)
parentc5acbf8a1bd1a14ea82610cb3f69b8ebbb3ea28b (diff)
downloadpleroma-44e8b6037ae71881327451dcf7d9351f1ba82674.tar.gz
pleroma-44e8b6037ae71881327451dcf7d9351f1ba82674.zip
Merge branch 'develop' into feature/expire-mutes
Diffstat (limited to 'test/web/mastodon_api/views')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index 6e9ab62ee..1101d0952 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -448,7 +448,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
test "shows unread_count only to the account owner" do
user = insert(:user)
- insert_list(7, :notification, user: user)
+ insert_list(7, :notification, user: user, activity: insert(:note_activity))
other_user = insert(:user)
user = User.get_cached_by_ap_id(user.ap_id)