mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 16:31:53 +00:00
14 lines
377 B
PHP
14 lines
377 B
PHP
|
<?php
|
||
|
|
||
|
require_once 'HTMLPurifier/DefinitionCache.php';
|
||
|
|
||
|
class HTMLPurifier_DefinitionCacheTest extends UnitTestCase
|
||
|
{
|
||
|
function test_create() {
|
||
|
$config = HTMLPurifier_Config::createDefault();
|
||
|
$cache = HTMLPurifier_DefinitionCache::create('Test', $config);
|
||
|
$this->assertEqual($cache, new HTMLPurifier_DefinitionCache_Serializer('Test'));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|