Skip to content

Commit c84d3a3

Browse files
committed
wip
1 parent 0350709 commit c84d3a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NewCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ protected function interact(InputInterface $input, OutputInterface $output)
118118
if (! $input->getOption('phpunit') && ! $input->getOption('pest')) {
119119
$input->setOption('pest', select(
120120
label: 'Which testing framework do you prefer?',
121-
options: ['PHPUnit', 'Pest'],
122-
default: 'PHPUnit',
121+
options: ['Pest', 'PHPUnit',],
122+
default: 'Pest',
123123
) === 'Pest');
124124
}
125125

@@ -594,7 +594,7 @@ protected function validateStackOption(InputInterface $input)
594594
*/
595595
protected function installPest(string $directory, InputInterface $input, OutputInterface $output)
596596
{
597-
if ($this->removeComposerPackages(['phpunit/phpunit'], $output, true)
597+
if ($this->removeComposerPackages(['phpunit/phpunit', '--no-update'], $output, true)
598598
&& $this->requireComposerPackages(['pestphp/pest:^2.0', 'pestphp/pest-plugin-laravel:^2.0'], $output, true)) {
599599
$commands = array_filter([
600600
$this->phpBinary().' ./vendor/bin/pest --init',

0 commit comments

Comments
 (0)