Skip to content

Commit 08f0546

Browse files
committed
chore: adjusts tests
1 parent 206e624 commit 08f0546

File tree

3 files changed

+0
-69
lines changed

3 files changed

+0
-69
lines changed

tests/Application/ConfigResolverTest.php

-13
Original file line numberDiff line numberDiff line change
@@ -176,19 +176,6 @@ public function testAddUnknownClassThrowException(): void
176176
);
177177
}
178178

179-
/**
180-
* @dataProvider provideValidIde
181-
*/
182-
public function testResolveValidIde(string $ide): void
183-
{
184-
$config = ['ide' => $ide];
185-
186-
$config = ConfigResolver::resolve($config, FakeInput::paths([$this->baseFixturePath]));
187-
188-
self::assertInstanceOf(FileLinkFormatter::class, $config->getFileLinkFormatter());
189-
self::assertNotInstanceOf(NullFileLinkFormatter::class, $config->getFileLinkFormatter());
190-
}
191-
192179
public function testResolveWithoutIde(): void
193180
{
194181
$config = [];

tests/Application/Console/Formatters/PathShortenerTest.php

-45
This file was deleted.

tests/Domain/ConfigurationTest.php

-11
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,6 @@ public function testDefineNullForThreads(): void
113113
self::assertGreaterThanOrEqual(1, $configuration->getNumberOfThreads());
114114
}
115115

116-
/**
117-
* @dataProvider invalidThreadsNumber
118-
* @param int|string $invalid
119-
*/
120-
public function testExceptionOnInvalidSetThread($invalid): void
121-
{
122-
$this->expectException(InvalidConfiguration::class);
123-
$this->expectExceptionMessage('The option "threads" with value');
124-
new Configuration(['threads' => $invalid]);
125-
}
126-
127116
/**
128117
* @return array<array<string|int|float>>
129118
*/

0 commit comments

Comments
 (0)