Skip to content

Commit

Permalink
Fixes broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelstolt committed Nov 28, 2024
1 parent cb96f45 commit 6feebfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"phlak/semver": "^4.1 || ^6.0",
"php-mock/php-mock-phpunit": "^2.7||^1.1",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^11.2.6||^10.5.25",
"phpunit/phpunit": "^11.4.4||^10.5.25",
"zenstruck/console-test": "^1.6"
}
}
4 changes: 2 additions & 2 deletions tests/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public function expectedCommandsAreListed(): void

$this->assertStringContainsString(
'init',
$output[17],
implode('', $output),
'Expected init command not listed.'
);
$this->assertStringContainsString(
'validate',
$output[19],
implode('', $output),
'Expected validate command not listed.'
);
$this->assertEquals(Command::SUCCESS, $returnValue);
Expand Down

0 comments on commit 6feebfd

Please sign in to comment.