Skip to content

Commit 035964d

Browse files
committed
Update Tests\Feature\Console\RepositoryTest.php
- assertExitCode of 0
1 parent 5e2daca commit 035964d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

tests/Feature/Console/RepositoryTest.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ public function test_it_can_generate_repository_command()
1414
{
1515
$this->artisan('make:repository', [
1616
'name' => 'LogsRepository'
17-
])
18-
->expectsOutput('Repository created successfully.')
19-
->assertExitCode(0);
17+
])->assertExitCode(0);
2018
}
2119

2220
public function test_it_can_generate_model_repository_command()
2321
{
2422
$this->artisan('make:repository', [
2523
'name' => 'UserRepository',
26-
'--model' => 'PPSpaces\Tests\App\User'
27-
])
28-
->expectsOutput('Repository created successfully.')
29-
->assertExitCode(0);
24+
'--model' => 'PPSpaces/Tests/App/User',
25+
'--no-interaction'
26+
])->assertExitCode(0);
3027
}
3128
}

0 commit comments

Comments
 (0)