1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 19:14:03 +00:00

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) |> 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