File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
tests/end-to-end/regression Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ --TEST--
2+ https://github.com/sebastianbergmann/phpunit/issues/6102
3+ --XFAIL--
4+ https://github.com/sebastianbergmann/phpunit/issues/6102
5+ --FILE--
6+ <?php declare (strict_types=1 );
7+ $ _SERVER ['argv ' ][] = '--do-not-cache-result ' ;
8+ $ _SERVER ['argv ' ][] = '--no-configuration ' ;
9+ $ _SERVER ['argv ' ][] = '--process-isolation ' ;
10+ $ _SERVER ['argv ' ][] = __DIR__ . '/../../end-to-end/generic/_files/TestForDeprecatedFeatureTest.php ' ;
11+
12+ require __DIR__ . '/../../bootstrap.php ' ;
13+
14+ (new PHPUnit \TextUI \Application )->run ($ _SERVER ['argv ' ]);
15+ --EXPECTF --
16+ PHPUnit %s by Sebastian Bergmann and contributors.
17+
18+ Runtime: %s
19+
20+ .. FF .. FF 8 / 8 (100 %)
21+
22+ Time: %s, Memory: %s
23+
24+ There were 4 failures:
25+
26+ 1 ) PHPUnit \TestFixture \Event \TestForDeprecatedFeatureTest::testExpectationOnExactDeprecationMessageWorksWhenExpectedDeprecationIsNotTriggered
27+ Expected deprecation with message "message " was not triggered
28+
29+ 2 ) PHPUnit \TestFixture \Event \TestForDeprecatedFeatureTest::testExpectationOnExactDeprecationMessageWorksWhenUnexpectedDeprecationIsTriggered
30+ Expected deprecation with message "message " was not triggered
31+
32+ 3 ) PHPUnit \TestFixture \Event \TestForDeprecatedFeatureTest::testExpectationOnDeprecationMessageMatchingRegularExpressionWorksWhenExpectedDeprecationIsNotTriggered
33+ Expected deprecation with message matching regular expression "/message/ " was not triggered
34+
35+ 4 ) PHPUnit \TestFixture \Event \TestForDeprecatedFeatureTest::testExpectationOnDeprecationMessageMatchingRegularExpressionWorksWhenUnepectedDeprecationIsTriggered
36+ Expected deprecation with message matching regular expression "/message/ " was not triggered
37+
38+ FAILURES !
39+ Tests: 8 , Assertions: 10 , Failures: 4.
You can’t perform that action at this time.
0 commit comments