Skip to content

Commit 6feebfd

Browse files
committed
Fixes broken test
1 parent cb96f45 commit 6feebfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"phlak/semver": "^4.1 || ^6.0",
6767
"php-mock/php-mock-phpunit": "^2.7||^1.1",
6868
"phpstan/phpstan": "^2.0",
69-
"phpunit/phpunit": "^11.2.6||^10.5.25",
69+
"phpunit/phpunit": "^11.4.4||^10.5.25",
7070
"zenstruck/console-test": "^1.6"
7171
}
7272
}

tests/ApplicationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public function expectedCommandsAreListed(): void
3737

3838
$this->assertStringContainsString(
3939
'init',
40-
$output[17],
40+
implode('', $output),
4141
'Expected init command not listed.'
4242
);
4343
$this->assertStringContainsString(
4444
'validate',
45-
$output[19],
45+
implode('', $output),
4646
'Expected validate command not listed.'
4747
);
4848
$this->assertEquals(Command::SUCCESS, $returnValue);

0 commit comments

Comments
 (0)