diff --git a/tests/Antlers/ParserTestCase.php b/tests/Antlers/ParserTestCase.php index c7ebfe784e..24c037997b 100644 --- a/tests/Antlers/ParserTestCase.php +++ b/tests/Antlers/ParserTestCase.php @@ -2,7 +2,6 @@ namespace Tests\Antlers; -use PHPUnit\Framework\Attributes\Test; use Statamic\Facades\YAML; use Statamic\Fields\Blueprint; use Statamic\Fields\BlueprintRepository; diff --git a/tests/Antlers/Runtime/TemplateTest.php b/tests/Antlers/Runtime/TemplateTest.php index 93b4882f0e..c8569919dc 100644 --- a/tests/Antlers/Runtime/TemplateTest.php +++ b/tests/Antlers/Runtime/TemplateTest.php @@ -2345,7 +2345,6 @@ public function it_compares_to_a_string_that_looks_like_array_access() /** * @see https://github.com/statamic/cms/issues/3374 **/ - #[Test] public function it_parses_single_and_tag_pairs_with_modifiers() { $data = ['items' => ['one', 'two', 'three']]; @@ -2482,6 +2481,7 @@ private function assertEqualsWithCollapsedNewlines($expected, $actual) $this->assertEquals($expected, $actual); } + #[Test] public function test_rendering_a_non_array_variable_reports_current_file() { $this->markTestSkipped(); // todo @@ -2511,11 +2511,13 @@ public function test_rendering_a_non_array_variable_reports_current_file() $this->get('/home')->assertOk(); } + #[Test] public function test_it_passes_data_to_php_when_enabled() { $this->assertEquals('hello', (string) $this->parser()->allowPhp(true)->parse('{{ associative }}{{ /associative }}', $this->variables)); } + #[Test] public function test_it_returns_escaped_content() { $input = 'Hey, look at that @{{ noun }}!';