mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 23:28:42 +00:00
Fix bad configuration call in NameSyncTest.php.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
parent
47bbbad000
commit
84e2e141fc
@ -8,7 +8,7 @@ class HTMLPurifier_AttrTransform_NameSyncTest extends HTMLPurifier_AttrTransform
|
|||||||
$this->obj = new HTMLPurifier_AttrTransform_NameSync();
|
$this->obj = new HTMLPurifier_AttrTransform_NameSync();
|
||||||
$this->accumulator = new HTMLPurifier_IDAccumulator();
|
$this->accumulator = new HTMLPurifier_IDAccumulator();
|
||||||
$this->context->register('IDAccumulator', $this->accumulator);
|
$this->context->register('IDAccumulator', $this->accumulator);
|
||||||
$this->config->set('Attr', 'EnableID', true);
|
$this->config->set('Attr.EnableID', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function testEmpty() {
|
function testEmpty() {
|
||||||
|
Loading…
Reference in New Issue
Block a user