diff --git a/tests/Support/Parsers/ShortcodeTest.php b/tests/Support/Parsers/ShortcodeTest.php index 30bd8556a..55c8b8370 100644 --- a/tests/Support/Parsers/ShortcodeTest.php +++ b/tests/Support/Parsers/ShortcodeTest.php @@ -8,7 +8,7 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface; test('test getInstance() method', function () { - $this->assertInstanceOf(Flextype\Support\Parsers\Shortcode::class, parsers()->shortcodes()->getInstance()); + $this->assertInstanceOf(Flextype\Support\Parsers\Shortcodes::class, parsers()->shortcodes()->getInstance()); }); test('test addHandler() method', function () { diff --git a/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php b/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php index 15ab1b714..382dbfe08 100644 --- a/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php +++ b/tests/Support/Parsers/Shortcodes/UrlShortcodeTest.php @@ -3,8 +3,7 @@ declare(strict_types=1); test('test registry_get shortcode', function () { - $this->assertStringContainsString('http', parsers()->shortcodes()->process('[url]')); - registry()->set('flextype.settings.url', 'https://flextype.org'); + $this->assertStringContainsString('https://flextype.org', parsers()->shortcodes()->process('[url]')); });