diff --git a/tests/HTMLPurifier/ConfigTest.php b/tests/HTMLPurifier/ConfigTest.php
index 72023e5e..de3c92a7 100644
--- a/tests/HTMLPurifier/ConfigTest.php
+++ b/tests/HTMLPurifier/ConfigTest.php
@@ -395,7 +395,7 @@ class HTMLPurifier_ConfigTest extends UnitTestCase
'Pancake.Mix' => 'nasty',
'Pancake.Served' => '0',
'Toppings.Syrup' => '0',
- 'Toppings.Flavor' => "Bug\\'s juice",
+ 'Toppings.Flavor' => "juice",
'Toppings.Strawberries' => '999',
'Toppings.Calories' => '',
'Null_Toppings.Calories' => '1',
@@ -408,15 +408,17 @@ class HTMLPurifier_ConfigTest extends UnitTestCase
$config_expect = HTMLPurifier_Config::create(array(
'Pancake.Served' => false,
'Toppings.Syrup' => false,
- 'Toppings.Flavor' => "Bug's juice",
+ 'Toppings.Flavor' => "juice",
'Toppings.Strawberries' => 999,
'Toppings.Calories' => null
));
- $config_result = HTMLPurifier_Config::loadArrayFromForm($get, 'breakfast', array('Pancake.Served', 'Toppings', '-Toppings.Protected'), true);
+ $config_result = HTMLPurifier_Config::loadArrayFromForm($get, 'breakfast', array('Pancake.Served', 'Toppings', '-Toppings.Protected'));
$this->assertEqual($config_expect, $config_result);
+ /*
+ MAGIC QUOTES NOT TESTED!!!
$get = array(
'breakfast' => array(
@@ -428,7 +430,7 @@ class HTMLPurifier_ConfigTest extends UnitTestCase
));
$config_result = HTMLPurifier_Config::loadArrayFromForm($get, 'breakfast', true, false);
$this->assertEqual($config_expect, $config_result);
-
+ */
}
function test_getAllowedDirectivesForForm() {