Fix FederatorTest

This commit is contained in:
tusooa 2023-03-01 18:37:14 -05:00
parent 1babd0798f
commit bec4e5ac31
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

View File

@ -133,7 +133,7 @@ defmodule Pleroma.Web.FederatorTest do
assert {:ok, _activity} = ObanHelpers.perform(job)
assert {:ok, job} = Federator.incoming_ap_doc(params)
assert {:error, :already_present} = ObanHelpers.perform(job)
assert {:cancel, :already_present} = ObanHelpers.perform(job)
end
test "rejects incoming AP docs with incorrect origin" do