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 17ef96e commit e7be013Copy full SHA for e7be013
tests/WithoutOverlappingTraitTest.php
@@ -100,7 +100,8 @@ public function it_allows_to_run_command_if_there_is_no_other_running_instances(
100
*/
101
public function it_blocks_if_trying_to_run_another_instance_of_the_command()
102
{
103
- $this->willSeeException(MutexRuntimeException::class, 'Command is running now!');
+ $this->expectException(MutexRuntimeException::class);
104
+ $this->expectExceptionMessage('Command is running now!');
105
106
$mutex = mock('overload:Illuminated\Console\Mutex');
107
$mutex->expects('acquireLock')->with(0)->andReturn(false);
0 commit comments