Fix test now that the reject error has more detail
This commit is contained in:
parent
fdeb8616e8
commit
cf70656d14
@ -16,7 +16,7 @@ defmodule Pleroma.Workers.ReceiverWorkerTest do
|
||||
|
||||
with_mock Pleroma.Web.ActivityPub.Transmogrifier,
|
||||
handle_incoming: fn _ -> {:reject, "MRF"} end do
|
||||
assert {:cancel, "MRF"} =
|
||||
assert {:cancel, {:reject, "MRF"}} =
|
||||
ReceiverWorker.perform(%Oban.Job{
|
||||
args: %{"op" => "incoming_ap_doc", "params" => params}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user