Skip to content

Commit 5d0edff

Browse files
committed
Fix tests with PHPUnit 5.7
PHPUnit 5.7 handles filter pattern differently
1 parent 4d62088 commit 5d0edff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cli/RunCest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ public function runTestsDoesntFail(\CliGuy $I)
4444
public function runTestsWithFilterDoesntFail(\CliGuy $I)
4545
{
4646
$I->amInPath(codecept_data_dir('dir_matches_suite'));
47-
$I->executeCommand('run tests:^Success');
47+
$I->executeCommand('run tests:^success');
4848
$I->seeInShellOutput('SuccessCest');
4949

50-
$I->executeCommand('run tests/:^Success');
50+
$I->executeCommand('run tests/:^success');
5151
$I->seeInShellOutput('SuccessCest');
5252
}
5353

5454
public function filterTestsWithoutSpecifyingSuite(\CliGuy $I)
5555
{
5656
$I->amInPath(codecept_data_dir('dir_matches_suite'));
57-
$I->executeCommand('run :^Success');
57+
$I->executeCommand('run :^success');
5858
$I->seeInShellOutput('SuccessCest');
5959
}
6060

0 commit comments

Comments
 (0)