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 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
|> post("/users/#{user.nickname}/inbox", data) |> post("/users/#{user.nickname}/inbox", data)
assert "ok" == json_response(conn, 200) assert "ok" == json_response(conn, 200)
ObanHelpers.perform(all_enqueued(worker: ReceiverWorker)) ObanHelpers.perform_all()
%Activity{} = activity = Activity.get_by_ap_id(data["id"]) %Activity{} = activity = Activity.get_by_ap_id(data["id"])
assert "https://www.w3.org/ns/activitystreams#Public" in activity.recipients assert "https://www.w3.org/ns/activitystreams#Public" in activity.recipients
end end