Fix immediately obvious deprecation notices while running command tests
This commit is contained in:
parent
86bc9da893
commit
eaae74fe33
9 changed files with 63 additions and 85 deletions
|
@ -55,7 +55,7 @@ class MakeLocationCommandTest extends CommandTestCase
|
|||
$display = $this->runCommand($this->command, [], [$location->short, $location->long]);
|
||||
|
||||
$this->assertNotEmpty($display);
|
||||
$this->assertContains(trans('command/messages.location.created', [
|
||||
$this->assertStringContainsString(trans('command/messages.location.created', [
|
||||
'name' => $location->short,
|
||||
'id' => $location->id,
|
||||
]), $display);
|
||||
|
@ -79,7 +79,7 @@ class MakeLocationCommandTest extends CommandTestCase
|
|||
]);
|
||||
|
||||
$this->assertNotEmpty($display);
|
||||
$this->assertContains(trans('command/messages.location.created', [
|
||||
$this->assertStringContainsString(trans('command/messages.location.created', [
|
||||
'name' => $location->short,
|
||||
'id' => $location->id,
|
||||
]), $display);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue