From c2a60a7005f9432841d259b55df39586b00875aa Mon Sep 17 00:00:00 2001 From: zackaj Date: Fri, 27 Dec 2024 23:16:04 +0100 Subject: [PATCH] adding runQueueWorkerCommand for ci --- tests/Integration/Queue/UniqueJobTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Integration/Queue/UniqueJobTest.php b/tests/Integration/Queue/UniqueJobTest.php index b52c7b0599c1..82e567282a6f 100644 --- a/tests/Integration/Queue/UniqueJobTest.php +++ b/tests/Integration/Queue/UniqueJobTest.php @@ -147,6 +147,7 @@ public function testLockIsReleasedOnModelNotFoundException() try { $user->delete(); dispatch($job); + $this->runQueueWorkerCommand(['--once' => true]); unserialize(serialize($job)); } finally { $this->assertFalse($job::$handled);