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 da66360 commit d914a25Copy full SHA for d914a25
tests/WithoutOverlappingTraitTest.php
@@ -46,7 +46,7 @@ public function it_allows_to_run_command_if_there_is_no_other_running_instances(
46
$mutex->shouldReceive('acquireLock')->with(0)->once()->andReturn(true);
47
$mutex->shouldReceive('releaseLock')->withNoArgs();
48
49
- Artisan::call('icm:generic');
+ $this->artisan('icm:generic');
50
}
51
52
/**
@@ -62,7 +62,7 @@ public function it_throws_an_exception_if_trying_to_run_another_instance_of_the_
62
$this->expectException(RuntimeException::class);
63
$this->expectExceptionMessage('Command is running now!');
64
65
66
67
68
0 commit comments