From e2c3efaff2d4e2cafff0ec01d8093d969afb4cb0 Mon Sep 17 00:00:00 2001 From: tamiroh Date: Sun, 16 Jun 2024 13:11:31 +0900 Subject: [PATCH] Fix `Attibute` -> `Attribute` --- tests/Integration/Console/PromptsValidationTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Integration/Console/PromptsValidationTest.php b/tests/Integration/Console/PromptsValidationTest.php index b6f0f631b301..1ab80a3e62b9 100644 --- a/tests/Integration/Console/PromptsValidationTest.php +++ b/tests/Integration/Console/PromptsValidationTest.php @@ -15,7 +15,7 @@ protected function defineEnvironment($app) $app[Kernel::class]->registerCommand(new DummyPromptsValidationCommand()); $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommand()); $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesMessagesAndAttributesCommand()); - $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand()); + $app[Kernel::class]->registerCommand(new DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand()); } public function testValidationForPrompts() @@ -37,7 +37,7 @@ public function testValidationWithLaravelRulesAndNoCustomization() public function testValidationWithLaravelRulesInlineMessagesAndAttributes() { $this - ->artisan(DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand::class) + ->artisan(DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand::class) ->expectsQuestion('What is your name?', '') ->expectsOutputToContain('Your full name is mandatory.'); } @@ -71,7 +71,7 @@ public function handle() } } -class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand extends Command +class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand extends Command { protected $signature = 'prompts-laravel-rules-inline-test';