Skip to content

Commit

Permalink
Update MakeCrudTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Apr 14, 2024
1 parent b8c1dc0 commit e5ace40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/MakeCrudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function test_check_to_create_files_with_command_crud_make_with_option_se
{
$this->artisan($this->command, ['name' => $this->name])
->expectsQuestion($this->question, 0)
->expectsOutputToContain('created successfully');
->assertSuccessful();

$this->checkAllToModelIsCreatedWithOriginalName();
$this->checkAllToMigrationIsCreatedWithOriginalName();
Expand All @@ -60,7 +60,7 @@ public function test_check_to_create_files_with_command_crud_make_with_option_se
{
$this->artisan($this->command, ['name' => $this->name])
->expectsQuestion($this->question, 3)
->expectsOutputToContain('created successfully');
->assertSuccessful();

$this->checkAllToModelIsCreatedWithOriginalName();
$this->checkAllToMigrationIsCreatedWithOriginalName();
Expand All @@ -79,7 +79,7 @@ public function test_check_to_create_files_with_command_crud_make_with_option_re
{
$this->artisan($this->command, ['name' => $this->name])
->expectsQuestion($this->question, 3)
->expectsOutputToContain('created successfully');
->assertSuccessful();

$this->checkAllToModelIsCreatedWithOriginalName();
$this->checkAllToMigrationIsCreatedWithOriginalName();
Expand All @@ -98,7 +98,7 @@ public function test_check_to_create_files_with_command_crud_make_with_option_fa
{
$this->artisan($this->command, ['name' => $this->name])
->expectsQuestion($this->question, 1)
->expectsOutputToContain('created successfully');
->assertSuccessful();

$this->checkAllToModelIsCreatedWithOriginalName();
$this->checkAllToMigrationIsCreatedWithOriginalName();
Expand Down Expand Up @@ -140,7 +140,7 @@ public function test_check_to_create_files_with_command_crud_make_with_ies_name_
// ->expectsQuestion($this->question, 3)
// ->expectsQuestion($this->question, 4)
->expectsQuestion($this->question, 5)
->expectsOutputToContain('created successfully');
->assertSuccessful();

$this->checkAllToModelIsCreatedWithOriginalName();
$this->checkAllToControllerIsCreatedWithOriginalName();
Expand Down

0 comments on commit e5ace40

Please sign in to comment.