mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
[1.7.0] DefinitionCache->flush() now requires configuration object. DefinitionCache_Serializer now will create directories for new types on the fly, and can accept custom directories to save serials into.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1147 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -32,8 +32,8 @@ class HTMLPurifier_DefinitionCache_DecoratorTest extends HTMLPurifier_Definition
|
||||
$mock->expectOnce('get', array($config));
|
||||
$cache->get($config);
|
||||
|
||||
$mock->expectOnce('flush', array());
|
||||
$cache->flush();
|
||||
$mock->expectOnce('flush', array($config));
|
||||
$cache->flush($config);
|
||||
|
||||
$mock->expectOnce('cleanup', array($config));
|
||||
$cache->cleanup($config);
|
||||
|
Reference in New Issue
Block a user