From 7831870f53d98b72726f6b6198a719a1f4712b8c Mon Sep 17 00:00:00 2001 From: Florian Engelhardt Date: Tue, 29 Dec 2020 21:00:17 +0100 Subject: [PATCH] remove tests for #2922 --- .../DataProviderIssue2922/FirstTest.php | 32 ------------------- .../DataProviderIssue2922/SecondTest.php | 21 ------------ tests/end-to-end/dataprovider-issue-2922.phpt | 24 -------------- 3 files changed, 77 deletions(-) delete mode 100644 tests/_files/DataProviderIssue2922/FirstTest.php delete mode 100644 tests/_files/DataProviderIssue2922/SecondTest.php delete mode 100644 tests/end-to-end/dataprovider-issue-2922.phpt diff --git a/tests/_files/DataProviderIssue2922/FirstTest.php b/tests/_files/DataProviderIssue2922/FirstTest.php deleted file mode 100644 index e5bd84e5e42..00000000000 --- a/tests/_files/DataProviderIssue2922/FirstTest.php +++ /dev/null @@ -1,32 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ -namespace Foo\DataProviderIssue2922; - -use Exception; -use PHPUnit\Framework\TestCase; - -/** - * @group foo - */ -class FirstTest extends TestCase -{ - /** - * @dataProvider provide - */ - public function testFirst($x): void - { - $this->assertTrue(true); - } - - public function provide(): void - { - throw new Exception; - } -} diff --git a/tests/_files/DataProviderIssue2922/SecondTest.php b/tests/_files/DataProviderIssue2922/SecondTest.php deleted file mode 100644 index ccf67c37190..00000000000 --- a/tests/_files/DataProviderIssue2922/SecondTest.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ -namespace Foo\DataProviderIssue2922; - -use PHPUnit\Framework\TestCase; - -// the name of the class cannot match file name - if they match all is fine -class SecondHelloWorldTest extends TestCase -{ - public function testSecond(): void - { - $this->assertTrue(true); - } -} diff --git a/tests/end-to-end/dataprovider-issue-2922.phpt b/tests/end-to-end/dataprovider-issue-2922.phpt deleted file mode 100644 index 2af1b88a119..00000000000 --- a/tests/end-to-end/dataprovider-issue-2922.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -phpunit --exclude-group=foo ../../_files/DataProviderIssue2922/ ---FILE-- -