mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 13:47:24 +02:00
[1.7.0] Create ConfigForm printer classes
- Extend hash to convert strings from form key,value,key,value - Hack up configdoc to accommodate configForm.php smoketest git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1101 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -288,6 +288,8 @@ class HTMLPurifier_ConfigSchemaTest extends UnitTestCase
|
||||
$this->assertValid(array(1 => 'moo'), 'hash');
|
||||
$this->assertInvalid(array(0 => 'moo'), 'hash');
|
||||
$this->assertValid('', 'hash', array());
|
||||
$this->assertValid('foo,bar,too,two', 'hash', array('foo' => 'bar', 'too' => 'two'));
|
||||
$this->assertValid('foo,bar,too', 'hash', array('foo' => 'bar'));
|
||||
|
||||
$this->assertValid(23, 'mixed');
|
||||
|
||||
|
Reference in New Issue
Block a user