Fix test now that the reject error has more detail

This commit is contained in:
Mark Felder 2024-07-20 23:58:47 -04:00
parent fdeb8616e8
commit cf70656d14

View File

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