diff --git a/tests/unit/TextUI/Configuration/Cli/BuilderTest.php b/tests/unit/TextUI/Configuration/Cli/BuilderTest.php index f3a124e931f..32213f0ea93 100644 --- a/tests/unit/TextUI/Configuration/Cli/BuilderTest.php +++ b/tests/unit/TextUI/Configuration/Cli/BuilderTest.php @@ -137,46 +137,6 @@ public function testCacheResultMayNotBeConfigured(): void $configuration->cacheResult(); } - #[TestDox('--cache-result file')] - public function testCacheResultFile(): void - { - $configuration = (new Builder)->fromParameters(['--cache-result-file', 'file']); - - $this->assertTrue($configuration->hasCacheResultFile()); - $this->assertSame('file', $configuration->cacheResultFile()); - } - - public function testCacheResultFileMayNotBeConfigured(): void - { - $configuration = (new Builder)->fromParameters([]); - - $this->assertFalse($configuration->hasCacheResultFile()); - - $this->expectException(Exception::class); - - $configuration->cacheResultFile(); - } - - #[TestDox('--coverage-cache directory')] - public function testCoverageCacheDirectory(): void - { - $configuration = (new Builder)->fromParameters(['--coverage-cache', 'directory']); - - $this->assertTrue($configuration->hasCoverageCacheDirectory()); - $this->assertSame('directory', $configuration->coverageCacheDirectory()); - } - - public function testCoverageCacheDirectoryMayNotBeConfigured(): void - { - $configuration = (new Builder)->fromParameters([]); - - $this->assertFalse($configuration->hasCoverageCacheDirectory()); - - $this->expectException(Exception::class); - - $configuration->coverageCacheDirectory(); - } - #[TestDox('--columns ')] public function testColumnsNumber(): void {