diff --git a/tests/end-to-end/regression/5561.phpt b/tests/end-to-end/regression/5561.phpt new file mode 100644 index 00000000000..f894f943501 --- /dev/null +++ b/tests/end-to-end/regression/5561.phpt @@ -0,0 +1,28 @@ +--TEST-- +https://github.com/sebastianbergmann/phpunit/issues/5561 +--XFAIL-- +https://github.com/sebastianbergmann/phpunit/issues/5561 +--FILE-- +run($_SERVER['argv']); +--EXPECTF-- + + + + + PHPUnit\TestFixture\Issue5561\Issue5561Test::testOne +Failed asserting that false is true. + +%sIssue5561Test.php:18 + + + diff --git a/tests/end-to-end/regression/5561/Issue5561Test.php b/tests/end-to-end/regression/5561/Issue5561Test.php new file mode 100644 index 00000000000..b81c334dfb7 --- /dev/null +++ b/tests/end-to-end/regression/5561/Issue5561Test.php @@ -0,0 +1,25 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace PHPUnit\TestFixture\Issue5561; + +use PHPUnit\Framework\TestCase; + +final class Issue5561Test extends TestCase +{ + protected function setUp(): void + { + $this->assertTrue(false); + } + + public function testOne(): void + { + $this->assertTrue(true); + } +}