From f318ac55626266e3bfe27f390b732b20f5aa3498 Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 2 Apr 2024 10:11:52 +0200 Subject: [PATCH] #103 - cleanup --- tests/codestyle/PurgeTest.php | 15 ++++++++++-- .../codestyle/PurgeWithoutDocCommentsTest.php | 23 ------------------- 2 files changed, 13 insertions(+), 25 deletions(-) delete mode 100644 tests/codestyle/PurgeWithoutDocCommentsTest.php diff --git a/tests/codestyle/PurgeTest.php b/tests/codestyle/PurgeTest.php index 2e0d6b0..0dedd74 100644 --- a/tests/codestyle/PurgeTest.php +++ b/tests/codestyle/PurgeTest.php @@ -8,16 +8,27 @@ class PurgeTest extends CodestyleTestCase { + private string $config; /** * @throws Exception */ - public function testPhp82Fixtures(): void + public function testPhp82PurgeMode(): void { + $this->config = "./tests/codestyle/config/config.purge.php"; $this->testFixture("noComments"); } + /** + * @throws Exception + */ + public function testPhp82PurgeWithoutDocCommentsTest(): void + { + $this->config = "./tests/codestyle/config/config.purge.without.doc.comments.php"; + $this->testFixture("noCommentsWithoutDocComments"); + } + protected function getConfigPath(): string { - return "./tests/codestyle/config/config.purge.php"; + return $this->config; } } diff --git a/tests/codestyle/PurgeWithoutDocCommentsTest.php b/tests/codestyle/PurgeWithoutDocCommentsTest.php deleted file mode 100644 index e70ad7f..0000000 --- a/tests/codestyle/PurgeWithoutDocCommentsTest.php +++ /dev/null @@ -1,23 +0,0 @@ -testFixture("noCommentsWithoutDocComments"); - } - - protected function getConfigPath(): string - { - return "./tests/codestyle/config/config.purge.without.doc.comments.php"; - } -}