Skip to content

Commit 84ce4f9

Browse files
committed
Clean skippable tests that are never skipped
1 parent 85d7045 commit 84ce4f9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ public function testLintIncorrectFileWithGithubFormat()
9292

9393
public function testLintAutodetectsGithubActionEnvironment()
9494
{
95-
if (!class_exists(GithubActionReporter::class)) {
96-
$this->markTestSkipped('The "github" format is only available since "symfony/console" >= 5.3.');
97-
}
98-
9995
$prev = getenv('GITHUB_ACTIONS');
10096
putenv('GITHUB_ACTIONS');
10197

@@ -170,10 +166,6 @@ public function testLintFileNotReadable()
170166
*/
171167
public function testComplete(array $input, array $expectedSuggestions)
172168
{
173-
if (!class_exists(CommandCompletionTester::class)) {
174-
$this->markTestSkipped('Test command completion requires symfony/console 5.4+.');
175-
}
176-
177169
$tester = new CommandCompletionTester($this->createCommand());
178170

179171
$this->assertSame($expectedSuggestions, $tester->complete($input));

0 commit comments

Comments
 (0)