Fix test for blocks
This commit is contained in:
parent
a9141d88aa
commit
d46393f6ef
@ -298,7 +298,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
|
|||||||
|
|
||||||
assert data["type"] == "Block"
|
assert data["type"] == "Block"
|
||||||
assert data["object"] == user.ap_id
|
assert data["object"] == user.ap_id
|
||||||
assert data["actor"] == "https://mastodon.example.org/users/admin"
|
assert data["actor"] == "http://mastodon.example.org/users/admin"
|
||||||
|
|
||||||
blocker = User.get_by_ap_id(data["actor"])
|
blocker = User.get_by_ap_id(data["actor"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user