Skip to content

Commit

Permalink
Merge branch 'master' into pr/9539
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Feb 19, 2024
2 parents 21e7d09 + 9b08674 commit 818f1ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Antlers/Runtime/TemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}' }}",
Expand Down Expand Up @@ -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}' }}";

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 818f1ec

Please sign in to comment.