logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: cf70656d141b075bf99114a662aba1e940106d65
parent fdeb8616e8452d78060fb41622688b7143687058
Author: Mark Felder <feld@feld.me>
Date:   Sat, 20 Jul 2024 23:58:47 -0400

Fix test now that the reject error has more detail

Diffstat:

Mtest/pleroma/workers/receiver_worker_test.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/pleroma/workers/receiver_worker_test.exs b/test/pleroma/workers/receiver_worker_test.exs @@ -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} })