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 b2b046c commit 5cc0541Copy full SHA for 5cc0541
tests/TaskHandlerTest.php
@@ -64,13 +64,12 @@ public function it_prevents_overlapping_if_the_command_is_scheduled_without_over
64
65
$mutex = head(app(Schedule::class)->events())->mutexName();
66
67
- cache()->add($mutex, true, 60);
68
-
69
$this->call('POST', '/cloud-scheduler-job', content: 'php artisan test:command');
70
71
$this->assertLoggedLines(1);
72
73
- cache()->delete($mutex);
+ $event = head(app(Schedule::class)->events());
+ $event->mutex->forget($event);
74
75
76
0 commit comments