1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

feat(tests): improve tests for UrlShortcode #477

This commit is contained in:
Awilum
2020-11-23 10:01:34 +03:00
parent 24b3df2946
commit 60af65bfb8

View File

@@ -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]'));
});