diff --git a/tests/Support/SupportTestingQueueFakeTest.php b/tests/Support/SupportTestingQueueFakeTest.php index 528829991f41..3122cbe6fe69 100644 --- a/tests/Support/SupportTestingQueueFakeTest.php +++ b/tests/Support/SupportTestingQueueFakeTest.php @@ -424,11 +424,11 @@ public function testAssertChainUsingClassesOrObjectsArray() new JobStub, ]); - $job->assertChain([ + $job->assertHasChain([ JobStub::class, ]); - $job->assertChain([ + $job->assertHasChain([ new JobStub(), ]); } @@ -437,7 +437,7 @@ public function testAssertNoChain() { $job = new JobWithChainStub([]); - $job->assertNoChain(); + $job->assertDoesntHaveChain(); } public function testAssertChainErrorHandling() @@ -447,14 +447,14 @@ public function testAssertChainErrorHandling() ]); try { - $job->assertChain([]); + $job->assertHasChain([]); $this->fail(); } catch (ExpectationFailedException $e) { $this->assertStringContainsString('The expected chain can not be empty.', $e->getMessage()); } try { - $job->assertChain([ + $job->assertHasChain([ new JobStub, new JobStub, ]); @@ -464,7 +464,7 @@ public function testAssertChainErrorHandling() } try { - $job->assertChain([ + $job->assertHasChain([ JobStub::class, JobStub::class, ]); @@ -474,7 +474,7 @@ public function testAssertChainErrorHandling() } try { - $job->assertNoChain(); + $job->assertDoesntHaveChain(); $this->fail(); } catch (ExpectationFailedException $e) { $this->assertStringContainsString('The job has chained jobs.', $e->getMessage());