Skip to content

Commit

Permalink
Fixed edition versions in prompt (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
juskora authored Nov 25, 2024
1 parent fc5a0d7 commit 1d7e724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/RunRegressionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function interact(InputInterface $input, OutputInterface $output): voi
if (!$input->getArgument('productVersion')) {
$productVersion = $io->ask(
'Please enter the Ibexa DXP version',
'4.5',
'4.6',
static function (string $answer): string {
if (preg_match('/^(\d+)\.(\d+)$/', $answer) === 0) {
throw new \RuntimeException(
Expand All @@ -78,7 +78,7 @@ static function (string $answer): string {
}

if (!$input->getArgument('productEditions')) {
$productEditions = $io->ask('Please enter the Ibexa DXP edition(s)', 'oss', static function (string $answer): array {
$productEditions = $io->ask('Please enter the Ibexa DXP edition(s)', 'commerce', static function (string $answer): array {
$editions = explode(',', $answer);
self::validateEditions($editions);

Expand Down

0 comments on commit 1d7e724

Please sign in to comment.