Make clear the test names

This commit is contained in:
tusooa 2023-03-01 21:14:52 -05:00
parent bec4e5ac31
commit a0ec66ce7e
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -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 @@ test "it ignores MRF reject" 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 @@ test "it ignores ObjectValidator reject" do
end
end
test "it ignores duplicates" do
test "it does not retry duplicates" do
params = insert(:note_activity).data
assert {:cancel, :already_present} =