Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Apr 5, 2024
1 parent 0182c5f commit b920ef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Feature/CreateNewSiteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

it('can not create new site if directory existed', function () {
mkdir('tests/tmp');


$this->artisan('new tests/tmp')
->expectsConfirmation('The directory tests/tmp already exists. Do you want to continue?', 'no')
->assertExitCode(1);
});

Expand Down

0 comments on commit b920ef0

Please sign in to comment.