mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
feat(tests): add tests for Shortcode getCacheID() method #477
This commit is contained in:
@@ -34,3 +34,8 @@ test('test process() method', function () {
|
||||
$this->assertEquals('Zed', flextype('shortcode')->process('[zed]'));
|
||||
$this->assertEquals('fòôBàřZed', flextype('shortcode')->process('fòôBàř[zed]'));
|
||||
});
|
||||
|
||||
test('test getCacheID() method', function () {
|
||||
$this->assertNotEquals(flextype('shortcode')->getCacheID('fòôBàř[bar]'),
|
||||
flextype('shortcode')->getCacheID('fòôBàř[foo]'));
|
||||
});
|
||||
|
Reference in New Issue
Block a user