diff --git a/tests/LanguageSwitcherInstallTest.php b/tests/LanguageSwitcherInstallTest.php index 28c3726..fa4b3fa 100644 --- a/tests/LanguageSwitcherInstallTest.php +++ b/tests/LanguageSwitcherInstallTest.php @@ -10,5 +10,5 @@ $this->assertFileExists(base_path('app/Http/Middleware/Localization.php')); $webfile = file_get_contents(base_path('routes/web.php')); - $this->assertStringContainsString("// Language Switcher Route 言語切替用ルートだよ", $webfile); + $this->assertStringContainsString('// Language Switcher Route 言語切替用ルートだよ', $webfile); }); diff --git a/tests/NoDebugCommandLeftTest.php b/tests/NoDebugCommandLeftTest.php index d57f591..02e14ba 100644 --- a/tests/NoDebugCommandLeftTest.php +++ b/tests/NoDebugCommandLeftTest.php @@ -1,5 +1,5 @@ expect(['dd', 'dump','ray']) + ->expect(['dd', 'dump', 'ray']) ->not->toBeUsed(); diff --git a/tests/TestCase.php b/tests/TestCase.php index e7e4b26..0ff1962 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -18,7 +18,7 @@ protected function setUp(): void } // テスト用のファイル作成(web.php) - if (!is_file(__DIR__.'/../vendor/orchestra/testbench-core/laravel/routes/web.php')) { + if (! is_file(__DIR__.'/../vendor/orchestra/testbench-core/laravel/routes/web.php')) { copy(__DIR__.'/web.php.stub', __DIR__.'/../vendor/orchestra/testbench-core/laravel/routes/web.php'); } @@ -28,7 +28,7 @@ protected function setUp(): void } // テスト用のファイル作成(Kernel.php) - if (!is_file(__DIR__.'/../vendor/orchestra/testbench-core/laravel/app/Http/Kernel.php')) { + if (! is_file(__DIR__.'/../vendor/orchestra/testbench-core/laravel/app/Http/Kernel.php')) { copy(__DIR__.'/Kernel.php.stub', __DIR__.'/../vendor/orchestra/testbench-core/laravel/app/Http/Kernel.php'); }