An act of desperation.

This commit is contained in:
lain 2020-06-23 11:03:32 +02:00
parent 2c603f2009
commit 2737809bbf

View file

@ -665,7 +665,7 @@ test "it accepts announces with to as string instead of array", %{conn: conn} do
|> post("/users/#{user.nickname}/inbox", data)
assert "ok" == json_response(conn, 200)
ObanHelpers.perform(all_enqueued(worker: ReceiverWorker))
ObanHelpers.perform_all()
%Activity{} = activity = Activity.get_by_ap_id(data["id"])
assert "https://www.w3.org/ns/activitystreams#Public" in activity.recipients
end