From 9b086749ce36e0f405196ee66567b5ddcea8776a Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Mon, 19 Feb 2024 12:18:09 +0000 Subject: [PATCH] [5.x] Fix failing Antlers tests (#9544) Fix failing Antlers tests --- tests/Antlers/Runtime/TemplateTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Antlers/Runtime/TemplateTest.php b/tests/Antlers/Runtime/TemplateTest.php index fffe60c6f5..6014f9c482 100644 --- a/tests/Antlers/Runtime/TemplateTest.php +++ b/tests/Antlers/Runtime/TemplateTest.php @@ -435,7 +435,7 @@ public function ternary_escapes_quotes_properly() /** @test */ public function ternary_condition_inside_parameter() { - $this->app['statamic.tags']['test'] = \Tests\Fixtures\Addon\Tags\Test::class; + $this->app['statamic.tags']['test'] = \Tests\Fixtures\Addon\Tags\TestTags::class; $this->assertEquals('yes', $this->renderString( "{{ test variable='{{ good ? 'yes' : 'fail' }}' }}", @@ -653,7 +653,7 @@ public function conditions_with_relaxed_modifiers() public function tags_with_curlies_in_params_gets_parsed() { // the variables are inside Test@index - $this->app['statamic.tags']['test'] = \Tests\Fixtures\Addon\Tags\Test::class; + $this->app['statamic.tags']['test'] = \Tests\Fixtures\Addon\Tags\TestTags::class; $template = "{{ test variable='{string}' }}"; @@ -736,7 +736,7 @@ public function empty_values_are_not_overridden_by_previous_iteration() /** @test */ public function empty_values_are_not_overridden_by_previous_iteration_with_parsing() { - $this->app['statamic.tags']['test'] = \Tests\Antlers\Fixtures\Addon\Tags\Test::class; + $this->app['statamic.tags']['test'] = \Tests\Antlers\Fixtures\Addon\Tags\TestTags::class; // Variable name was changed from "loop" to "loopvar" compared to the original test to avoid a // headache since the base test class is going to be loading all of the core Statamic Tags.