mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 08:06:55 +00:00
Improve assertion
This commit is contained in:
parent
2ab4049508
commit
b735d9e6e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue