From 3216e303d690d98ac7bd7221b89f5b0d14bedbc1 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 25 May 2022 18:03:07 +0300 Subject: [PATCH] feat(tests): add missed tests for `var` shortcode --- tests/src/flextype/core/Parsers/Shortcodes/VarShortcodeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/flextype/core/Parsers/Shortcodes/VarShortcodeTest.php b/tests/src/flextype/core/Parsers/Shortcodes/VarShortcodeTest.php index ce4c1802..46dd9707 100644 --- a/tests/src/flextype/core/Parsers/Shortcodes/VarShortcodeTest.php +++ b/tests/src/flextype/core/Parsers/Shortcodes/VarShortcodeTest.php @@ -11,6 +11,6 @@ afterEach(function () { }); test('var shortcode', function () { - expect(entries()->create('foo', ['var' => ['foo' => 'Foo'], 'title' => '(var:foo)']))->toBeTrue(); + expect(entries()->create('foo', ['vars' => ['foo' => 'Foo'], 'title' => '(var:foo)']))->toBeTrue(); expect(entries()->fetch('foo')['title'])->toBe('Foo'); }); \ No newline at end of file