generated from thegrind/laravel-dockerized
Fix test
This commit is contained in:
parent
76e3f07239
commit
58a2e54b7e
@ -72,7 +72,7 @@ describe('GenerateKeys Command', function () {
|
|||||||
|
|
||||||
$this->artisan('app:generate-keys')
|
$this->artisan('app:generate-keys')
|
||||||
->expectsOutput('Keys already exist. Aborting.')
|
->expectsOutput('Keys already exist. Aborting.')
|
||||||
->assertExitCode(1);
|
->assertExitCode(0);
|
||||||
|
|
||||||
// Verify original files are unchanged
|
// Verify original files are unchanged
|
||||||
expect(File::get($privatePath))->toBe('dummy private key');
|
expect(File::get($privatePath))->toBe('dummy private key');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user