Fix order of args for unblock/2
This commit is contained in:
parent
cbc5e48417
commit
082319ff48
3 changed files with 3 additions and 3 deletions
|
|
@ -324,7 +324,7 @@ defmodule Pleroma.Web.CommonAPITest do
|
|||
User.block(blocker, blocked)
|
||||
|
||||
assert User.blocks?(blocker, blocked)
|
||||
assert {:ok, :no_activity} == CommonAPI.unblock(blocker, blocked)
|
||||
assert {:ok, :no_activity} == CommonAPI.unblock(blocked, blocker)
|
||||
refute User.blocks?(blocker, blocked)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue