From a20fdb62fe27cd0a728d895a499af4b924ae6e1d Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 25 May 2022 15:47:38 +0300 Subject: [PATCH] fix(tests): fix tests for shortcodes --- .../flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php b/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php index 93fb6c17..ceae36e6 100644 --- a/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php +++ b/tests/src/flextype/core/Parsers/Shortcodes/StringsShortcodeTest.php @@ -343,5 +343,5 @@ test('strings shortcode', function () { }); test('strings nested shortcode', function () { - expect(parsers()->shortcodes()->parse("(strings append:'(strings hash)(strings random:10 /)(/strings)')Hash: (/strings)"))->toBe('Hash: 66e51cf9114bf1eef8f1793ad1c0e8a1'); + expect(parsers()->shortcodes()->parse("(strings append:'(strings hash)(strings upper)foo(/strings)(/strings)')Hash: (/strings)"))->toBe('Hash: 901890a8e9c8cf6d5a1a542b229febff'); }); \ No newline at end of file