Skip to content

Commit 26f6c54

Browse files
committed
Clean skippable tests that are never skipped
1 parent f389142 commit 26f6c54

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Tests/Command/DebugCommandTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ class:%s
189189
*/
190190
public function testComplete(array $input, array $expectedSuggestions)
191191
{
192-
if (!class_exists(CommandCompletionTester::class)) {
193-
$this->markTestSkipped('Test command completion requires symfony/console 5.4+.');
194-
}
195-
196192
$formRegistry = new FormRegistry([], new ResolvedFormTypeFactory());
197193
$command = new DebugCommand($formRegistry);
198194
$application = new Application();

Tests/FormErrorIteratorTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ class FormErrorIteratorTest extends TestCase
2626
*/
2727
public function testFindByCodes($code, $violationsCount)
2828
{
29-
if (!class_exists(ConstraintViolation::class)) {
30-
$this->markTestSkipped('Validator component required.');
31-
}
32-
3329
$formBuilder = new FormBuilder(
3430
'form',
3531
null,

0 commit comments

Comments
 (0)