Fix order of args for thread_muted?/2
This commit is contained in:
parent
4601473aaf
commit
8127e0d8cc
6 changed files with 12 additions and 12 deletions
|
|
@ -1526,7 +1526,7 @@ defmodule Pleroma.UserTest do
|
|||
|
||||
assert [activity] == ActivityPub.fetch_public_activities(%{}) |> Repo.preload(:bookmark)
|
||||
|
||||
assert [%{activity | thread_muted?: CommonAPI.thread_muted?(user2, activity)}] ==
|
||||
assert [%{activity | thread_muted?: CommonAPI.thread_muted?(activity, user2)}] ==
|
||||
ActivityPub.fetch_activities([user2.ap_id | User.following(user2)], %{
|
||||
user: user2
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue