Skip to content

Commit

Permalink
Fix Attibute -> Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiroh committed Jun 16, 2024
1 parent 2d9b34d commit e2c3efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Integration/Console/PromptsValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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.');
}
Expand Down Expand Up @@ -71,7 +71,7 @@ public function handle()
}
}

class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttibutesCommand extends Command
class DummyPromptsWithLaravelRulesCommandWithInlineMessagesAndAttributesCommand extends Command
{
protected $signature = 'prompts-laravel-rules-inline-test';

Expand Down

0 comments on commit e2c3efa

Please sign in to comment.