1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 19:14:03 +00:00

pass user to User.blocks?/2 instead of ap_id

This commit is contained in:
Francis Dinh 2018-05-20 19:45:05 -04:00
parent 1afd6d37bd
commit 56de0216ae

View file

@ -357,7 +357,7 @@ test "it works for incoming blocks" do
blocker = User.get_by_ap_id(data["actor"])
assert User.blocks?(blocker, user.ap_id)
assert User.blocks?(blocker, user)
end
test "it works for incoming unblocks" do