We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6349a commit 43f358aCopy full SHA for 43f358a
tests/Integration/Queue/JobDispatchingTest.php
@@ -144,11 +144,13 @@ public function testDispatchDeferDelaysDispatchingUntilDeferredCallbacksAreRun()
144
{
145
Job::dispatchDefer('test');
146
147
+ $this->assertSame(1, $this->app[DeferredCallbackCollection::class]->count());
148
$this->assertFalse(Job::$ran);
149
+
150
$this->runQueueWorkerCommand(['--stop-when-empty' => true]);
151
152
- $this->app->get(DeferredCallbackCollection::class)->invoke();
153
+ $this->app[DeferredCallbackCollection::class]->invoke();
154
155
$this->assertTrue(Job::$ran);
156
}
0 commit comments