summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/views
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-09-15 15:32:49 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-09-15 15:32:49 +0300
commitf879d07fa1a046b5aa33de8e445b1ca803fa1d04 (patch)
tree9db929e9744f54040bc3892082bd67ee27a6de3b /test/web/mastodon_api/views
parent3e53ab4e98e6294f593f2185998f555ccd6fee73 (diff)
downloadpleroma-f879d07fa1a046b5aa33de8e445b1ca803fa1d04.tar.gz
pleroma-f879d07fa1a046b5aa33de8e445b1ca803fa1d04.zip
fixed tests
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 9f22f9dcf..c5f491d6b 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)