From: Francis Dinh Date: Sun, 20 May 2018 23:45:05 +0000 (-0400) Subject: pass user to User.blocks?/2 instead of ap_id X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=56de0216ae36394dba1aa9bac6c931af67233658;p=akkoma pass user to User.blocks?/2 instead of ap_id --- diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 87fadece2..da55909bc 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -357,7 +357,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest 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