diff --git a/tests/HTMLPurifier/AttrTransform/NameSyncTest.php b/tests/HTMLPurifier/AttrTransform/NameSyncTest.php
index <HASH>..<HASH> 100644
--- a/tests/HTMLPurifier/AttrTransform/NameSyncTest.php
+++ b/tests/HTMLPurifier/AttrTransform/NameSyncTest.php
@@ -8,7 +8,7 @@ class HTMLPurifier_AttrTransform_NameSyncTest extends HTMLPurifier_AttrTransform
         $this->obj = new HTMLPurifier_AttrTransform_NameSync();
         $this->accumulator = new HTMLPurifier_IDAccumulator();
         $this->context->register('IDAccumulator', $this->accumulator);
-        $this->config->set('Attr', 'EnableID', true);
+        $this->config->set('Attr.EnableID', true);
     }
 
     function testEmpty() {
Fix bad configuration call in NameSyncTest.php.