Skip to content

Commit b998240

Browse files
Delete tests for functionality that has been removed
1 parent 52cc152 commit b998240

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

tests/unit/TextUI/Configuration/Cli/BuilderTest.php

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -137,46 +137,6 @@ public function testCacheResultMayNotBeConfigured(): void
137137
$configuration->cacheResult();
138138
}
139139

140-
#[TestDox('--cache-result file')]
141-
public function testCacheResultFile(): void
142-
{
143-
$configuration = (new Builder)->fromParameters(['--cache-result-file', 'file']);
144-
145-
$this->assertTrue($configuration->hasCacheResultFile());
146-
$this->assertSame('file', $configuration->cacheResultFile());
147-
}
148-
149-
public function testCacheResultFileMayNotBeConfigured(): void
150-
{
151-
$configuration = (new Builder)->fromParameters([]);
152-
153-
$this->assertFalse($configuration->hasCacheResultFile());
154-
155-
$this->expectException(Exception::class);
156-
157-
$configuration->cacheResultFile();
158-
}
159-
160-
#[TestDox('--coverage-cache directory')]
161-
public function testCoverageCacheDirectory(): void
162-
{
163-
$configuration = (new Builder)->fromParameters(['--coverage-cache', 'directory']);
164-
165-
$this->assertTrue($configuration->hasCoverageCacheDirectory());
166-
$this->assertSame('directory', $configuration->coverageCacheDirectory());
167-
}
168-
169-
public function testCoverageCacheDirectoryMayNotBeConfigured(): void
170-
{
171-
$configuration = (new Builder)->fromParameters([]);
172-
173-
$this->assertFalse($configuration->hasCoverageCacheDirectory());
174-
175-
$this->expectException(Exception::class);
176-
177-
$configuration->coverageCacheDirectory();
178-
}
179-
180140
#[TestDox('--columns <n>')]
181141
public function testColumnsNumber(): void
182142
{

0 commit comments

Comments
 (0)