mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Fix immediately obvious deprecation notices while running command tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user