fixed tests

This commit is contained in:
Maksim Pechnikov 2020-09-15 15:32:49 +03:00
commit f879d07fa1
5 changed files with 11 additions and 6 deletions

View file

@ -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)