Skip to content

Commit d914a25

Browse files
committed
ICM: Minor tests fixes.
1 parent da66360 commit d914a25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/WithoutOverlappingTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function it_allows_to_run_command_if_there_is_no_other_running_instances(
4646
$mutex->shouldReceive('acquireLock')->with(0)->once()->andReturn(true);
4747
$mutex->shouldReceive('releaseLock')->withNoArgs();
4848

49-
Artisan::call('icm:generic');
49+
$this->artisan('icm:generic');
5050
}
5151

5252
/**
@@ -62,7 +62,7 @@ public function it_throws_an_exception_if_trying_to_run_another_instance_of_the_
6262
$this->expectException(RuntimeException::class);
6363
$this->expectExceptionMessage('Command is running now!');
6464

65-
Artisan::call('icm:generic');
65+
$this->artisan('icm:generic');
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)