Commit 56de0216 authored by normandy's avatar normandy
Browse files

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

parent 1afd6d37
...@@ -357,7 +357,7 @@ test "it works for incoming blocks" do ...@@ -357,7 +357,7 @@ test "it works for incoming blocks" do
blocker = User.get_by_ap_id(data["actor"]) blocker = User.get_by_ap_id(data["actor"])
assert User.blocks?(blocker, user.ap_id) assert User.blocks?(blocker, user)
end end
test "it works for incoming unblocks" do test "it works for incoming unblocks" do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment