diff --git a/tests/end-to-end/regression/GitHub/3364/Issue3364Test.php b/tests/end-to-end/regression/GitHub/3364/Issue3364Test.php new file mode 100644 index 00000000000..8b15cd9d0a4 --- /dev/null +++ b/tests/end-to-end/regression/GitHub/3364/Issue3364Test.php @@ -0,0 +1,25 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +use PHPUnit\Framework\TestCase; + +class Issue3364Test extends TestCase +{ + public static function setUpBeforeClass(): void + { + throw new \RuntimeException('Something\'s not quite right!'); + } + + public function testSomething(): void + { + $this->fail('This cannot work!'); + } +} diff --git a/tests/end-to-end/regression/GitHub/3364/issue-3364-test.phpt b/tests/end-to-end/regression/GitHub/3364/issue-3364-test.phpt new file mode 100644 index 00000000000..171382dd190 --- /dev/null +++ b/tests/end-to-end/regression/GitHub/3364/issue-3364-test.phpt @@ -0,0 +1,32 @@ +--TEST-- +https://github.com/sebastianbergmann/phpunit/issues/3364 +--FILE-- +