-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #280 from captenmasin/prompts
Convert Install and Upgrade commands to Laravel Prompts
- Loading branch information
Showing
4 changed files
with
68 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ | |
test('install command works', function () { | ||
$command = artisan('roadmap:install') | ||
->expectsOutput('Roadmap Installation') | ||
->expectsConfirmation('Do you want to run the migrations to set up everything fresh? (php artisan migrate:fresh)') | ||
->expectsOutput('Let\'s create a user.') | ||
->expectsConfirmation('Do you want to run the migrations to set up everything fresh?') | ||
->expectsOutputToContain('Let\'s create a user.') | ||
->expectsQuestion('Name', 'John Doe') | ||
->expectsQuestion('Email address', '[email protected]') | ||
->expectsQuestion('Password', 'ploiisawesome'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters