Improve assertion

This commit is contained in:
Mark Felder 2024-09-30 14:55:38 -04:00
parent 2ab4049508
commit b735d9e6e1

View file

@ -97,7 +97,7 @@ defmodule Pleroma.Workers.PollWorkerTest do
assert_enqueued(args: expected_job_args)
[job] = all_enqueued(worker: PollWorker)
assert {:cancel, :poll_finalized} = PollWorker.perform(job)
assert {:cancel, :poll_finalized} == PollWorker.perform(job)
end
end
end