Skip to content

Commit

Permalink
adding runQueueWorkerCommand for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zackAJ committed Dec 27, 2024
1 parent 94690b6 commit c2a60a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/Queue/UniqueJobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ public function testLockIsReleasedOnModelNotFoundException()
try {
$user->delete();
dispatch($job);
$this->runQueueWorkerCommand(['--once' => true]);
unserialize(serialize($job));
} finally {
$this->assertFalse($job::$handled);
Expand Down

0 comments on commit c2a60a7

Please sign in to comment.