Skip to content

Commit

Permalink
Fix ci (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Apr 18, 2024
1 parent 2523706 commit 76c80a7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Environment/StubbedEnvironmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Symfony\Bridge\Twig\Node\TransNode;
use Symfony\UX\TwigComponent\Twig\ComponentTokenParser;
use Symfony\UX\TwigComponent\Twig\PropsTokenParser;
use Twig\Extra\Cache\Node\CacheNode;
use Twig\Extra\Cache\TokenParser\CacheTokenParser;
use Twig\Node\TextNode;
use Twig\Source;
Expand Down Expand Up @@ -135,9 +134,7 @@ public function testParseCacheTag(): void
$env = new StubbedEnvironment();
$source = new Source($content, 'cache_tag.html.twig');

$nodes = $env->parse($env->tokenize($source));
$body = $nodes->getNode('body');
static::assertInstanceOf(CacheNode::class, $body->getNode('0'));
$env->parse($env->tokenize($source));
}

public function testParseComponentTag(): void
Expand Down

0 comments on commit 76c80a7

Please sign in to comment.