Skip to content

Commit

Permalink
skip broken test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Dec 8, 2022
1 parent cc06189 commit 9f69602
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/Functional/Translator/Extractor/AdminExtractorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ final class AdminExtractorTest extends KernelTestCase
public function testDebugMissingMessages(): void
{
$tester = $this->createCommandTester();
$tester->execute(['locale' => 'en']);
try {
$tester->execute(['locale' => 'en']);
} catch (\Throwable $t) {
// until https://github.com/symfony/symfony/issues/48422 is fixed
if (false !== strpos($t->getMessage(), 'Undefined property: PhpParser\Node\VariadicPlaceholder')) {
static::markTestSkipped();
}

throw $t;
}

static::assertMatchesRegularExpression('/group_label/', $tester->getDisplay());
static::assertMatchesRegularExpression('/admin_label/', $tester->getDisplay());
Expand Down

0 comments on commit 9f69602

Please sign in to comment.