From e4eb0e5dc6302de82b39cf7b52eddd74f7834dbe Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 May 2022 19:23:09 +0300 Subject: [PATCH] feat(shortcodes): add `[tr]` shortcode - upd tests --- .../src/flextype/core/Parsers/Shortcodes/I18nShortcodeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/flextype/core/Parsers/Shortcodes/I18nShortcodeTest.php b/tests/src/flextype/core/Parsers/Shortcodes/I18nShortcodeTest.php index 3656ed1d..002e842d 100644 --- a/tests/src/flextype/core/Parsers/Shortcodes/I18nShortcodeTest.php +++ b/tests/src/flextype/core/Parsers/Shortcodes/I18nShortcodeTest.php @@ -3,5 +3,5 @@ declare(strict_types=1); test('[tr] shortcode', function () { - expect(parsers()->shortcodes()->parse('[tr find="site_title"]'))->toBe('Site'); + expect(parsers()->shortcodes()->parse('[tr find="Foo"]'))->toBe('Foo'); });