File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 41
41
"codeception/module-db" : " *@dev" ,
42
42
"codeception/module-filesystem" : " *@dev" ,
43
43
"codeception/module-phpbrowser" : " *@dev" ,
44
- "codeception/util-universalframework" : " *@dev" ,
45
- "phpunit/phpunit" : " <9.5"
44
+ "codeception/util-universalframework" : " *@dev"
46
45
},
47
46
"suggest" : {
48
47
"hoa/console" : " For interactive console functionality" ,
Original file line number Diff line number Diff line change @@ -558,9 +558,11 @@ public function runCestWithTwoFailedTest(CliGuy $I)
558
558
$ I ->seeInShellOutput ('Failures: 2. ' );
559
559
}
560
560
561
-
562
- public function runWarningTests (CliGuy $ I )
561
+ public function runWarningTests (CliGuy $ I , \Codeception \Scenario $ scenario )
563
562
{
563
+ if (version_compare (\PHPUnit \Runner \Version::id (), '9.5.0 ' , '>= ' )) {
564
+ $ scenario ->skip ('This warning is an error since PHPUnit 9.5 ' );
565
+ }
564
566
$ I ->executeCommand ('run unit WarningTest.php ' , false );
565
567
$ I ->seeInShellOutput ('There was 1 warning ' );
566
568
$ I ->seeInShellOutput ('WarningTest::testWarningInvalidDataProvider ' );
You can’t perform that action at this time.
0 commit comments