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:
@@ -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]'));
|
||||
});
|
||||
|
Reference in New Issue
Block a user