From 30955813928a5cb8b308d7ed028fca04c493b9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Wed, 18 Sep 2024 22:14:37 +0200 Subject: [PATCH] [BUGFIX] Add missing template fixtures for RenderHelper test --- .../Fixtures/test_extension/Resources/Templates/foo.hbs | 1 + .../test_extension/Resources/Templates/render-custom-context.hbs | 1 + .../Resources/Templates/render-default-context.hbs | 1 + .../test_extension/Resources/Templates/render-merged-context.hbs | 1 + .../test_extension/Resources/Templates/render-uncached.hbs | 1 + 5 files changed, 5 insertions(+) create mode 100644 Tests/Functional/Fixtures/test_extension/Resources/Templates/foo.hbs create mode 100644 Tests/Functional/Fixtures/test_extension/Resources/Templates/render-custom-context.hbs create mode 100644 Tests/Functional/Fixtures/test_extension/Resources/Templates/render-default-context.hbs create mode 100644 Tests/Functional/Fixtures/test_extension/Resources/Templates/render-merged-context.hbs create mode 100644 Tests/Functional/Fixtures/test_extension/Resources/Templates/render-uncached.hbs diff --git a/Tests/Functional/Fixtures/test_extension/Resources/Templates/foo.hbs b/Tests/Functional/Fixtures/test_extension/Resources/Templates/foo.hbs new file mode 100644 index 00000000..bd0440f5 --- /dev/null +++ b/Tests/Functional/Fixtures/test_extension/Resources/Templates/foo.hbs @@ -0,0 +1 @@ +{{{ renderedContent }}} diff --git a/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-custom-context.hbs b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-custom-context.hbs new file mode 100644 index 00000000..7653d004 --- /dev/null +++ b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-custom-context.hbs @@ -0,0 +1 @@ +{{render '@foo' renderData}} diff --git a/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-default-context.hbs b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-default-context.hbs new file mode 100644 index 00000000..f62832aa --- /dev/null +++ b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-default-context.hbs @@ -0,0 +1 @@ +{{render '@foo'}} diff --git a/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-merged-context.hbs b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-merged-context.hbs new file mode 100644 index 00000000..3abc5b45 --- /dev/null +++ b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-merged-context.hbs @@ -0,0 +1 @@ +{{render '@foo' renderData merge=true}} diff --git a/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-uncached.hbs b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-uncached.hbs new file mode 100644 index 00000000..c104c3bf --- /dev/null +++ b/Tests/Functional/Fixtures/test_extension/Resources/Templates/render-uncached.hbs @@ -0,0 +1 @@ +{{render '@foo' renderData uncached=true}}