Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Composer dependencies #1388

Merged
merged 3 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update vendor publish command test to expect Laravel Prompts
  • Loading branch information
caendesilva committed Oct 19, 2023
commit b008504f91d70ec23c4a0450369b45689d01b841
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function test_command_prompts_for_provider_or_tag()

$this->artisan('vendor:publish')
->expectsChoice('Which provider or tag\'s files would you like to publish?', 'Tag: example-configs', [
'<comment>Publish files from all providers and tags listed below</comment>',
'<fg=gray>Provider:</> ExampleProvider',
'<fg=gray>Tag:</> example-configs',
'All providers and tags',
])
->assertExitCode(0);
}
Expand All @@ -60,7 +60,7 @@ public function test_unhelpful_publishers_are_removed()

$this->artisan('vendor:publish')
->expectsChoice('Which provider or tag\'s files would you like to publish?', 'Tag: example-configs', [
'<comment>Publish files from all providers and tags listed below</comment>',
'All providers and tags',
])->assertExitCode(0);
}

Expand All @@ -73,7 +73,7 @@ public function test_config_group_is_renamed_to_be_more_helpful()

$this->artisan('vendor:publish')
->expectsChoice('Which provider or tag\'s files would you like to publish?', 'Tag: vendor-configs', [
'<comment>Publish files from all providers and tags listed below</comment>',
'All providers and tags',
'<fg=gray>Tag:</> vendor-configs',
])->assertExitCode(0);
}
Expand Down