logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: a0ec66ce7e33a547e8b2337e97705ec8bdf957f5
parent bec4e5ac313e172d0077a9234cd4f733b980d180
Author: tusooa <tusooa@kazv.moe>
Date:   Wed,  1 Mar 2023 21:14:52 -0500

Make clear the test names

Diffstat:

Mtest/pleroma/workers/receiver_worker_test.exs6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/pleroma/workers/receiver_worker_test.exs b/test/pleroma/workers/receiver_worker_test.exs @@ -11,7 +11,7 @@ defmodule Pleroma.Workers.ReceiverWorkerTest do alias Pleroma.Workers.ReceiverWorker - test "it ignores MRF reject" do + test "it does not retry MRF reject" do params = insert(:note).data with_mock Pleroma.Web.ActivityPub.Transmogrifier, @@ -23,7 +23,7 @@ defmodule Pleroma.Workers.ReceiverWorkerTest do end end - test "it ignores ObjectValidator reject" do + test "it does not retry ObjectValidator reject" do params = insert(:note_activity).data |> Map.put("id", Pleroma.Web.ActivityPub.Utils.generate_activity_id()) @@ -41,7 +41,7 @@ defmodule Pleroma.Workers.ReceiverWorkerTest do end end - test "it ignores duplicates" do + test "it does not retry duplicates" do params = insert(:note_activity).data assert {:cancel, :already_present} =