From 1aca61c689ae3290caf920aee84f8a4ca64cf37e Mon Sep 17 00:00:00 2001 From: askdkc Date: Tue, 16 Jan 2024 23:26:30 +0000 Subject: [PATCH] Fix styling --- tests/CommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CommandTest.php b/tests/CommandTest.php index ff146f7..b2ed17c 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -21,7 +21,7 @@ ->expectsOutput('日本語ファイルのインストールが完了しました!') ->assertExitCode(0); - if (11 <= (int) substr(Illuminate\Foundation\Application::VERSION, 0, 2)) { + if ((int) substr(Illuminate\Foundation\Application::VERSION, 0, 2) >= 11) { $configfile = file_get_contents(base_path('config/app.php')); $this->assertStringContainsString("'locale' => 'ja'", $configfile); $this->assertStringContainsString("'faker_locale' => 'ja_JP'", $configfile);