Merge branch 'oban/more-improvements' into 'develop'
Oban: more improvements See merge request pleroma/pleroma!4187
This commit is contained in:
commit
f77911f05b
12 changed files with 18 additions and 9 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue