From 60af65bfb8748422616b630dd999741825e7b448 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 23 Nov 2020 10:01:34 +0300 Subject: [PATCH] feat(tests): improve tests for UrlShortcode #477 --- tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php b/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php index 2faf5d05..ba1f1e41 100644 --- a/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php +++ b/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php @@ -4,4 +4,7 @@ declare(strict_types=1); test('test registry_get shortcode', function () { $this->assertStringContainsString('http', flextype('shortcode')->process('[url]')); + + flextype('registry')->set('flextype.settings.url', 'https://flextype.org'); + $this->assertStringContainsString('https://flextype.org', flextype('shortcode')->process('[url]')); });