commit: b735d9e6e19a1c64f43428e6342e3d172728c736
parent 2ab4049508148756076853bae26279b698740597
Author: Mark Felder <feld@feld.me>
Date: Mon, 30 Sep 2024 14:55:38 -0400
Improve assertion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/pleroma/workers/poll_worker_test.exs b/test/pleroma/workers/poll_worker_test.exs
@@ -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