diff --git a/lib/Cake/Test/TestCase/Utility/XmlTest.php b/lib/Cake/Test/TestCase/Utility/XmlTest.php index 051d339fbc2..889baa6a9c1 100644 --- a/lib/Cake/Test/TestCase/Utility/XmlTest.php +++ b/lib/Cake/Test/TestCase/Utility/XmlTest.php @@ -1045,7 +1045,7 @@ public function testAmpInText() { * @return void */ public function testNoEntityLoading() { - $file = CAKE . 'VERSION.txt'; + $file = str_replace(' ' , '%20' , CAKE . 'VERSION.txt'); $xml = <<]>