Skip to content

Commit

Permalink
Fix failing test when directories contain spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 17, 2012
1 parent d36b2b3 commit ac33e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/TestCase/Utility/XmlTest.php
Expand Up @@ -1045,7 +1045,7 @@ public function testAmpInText() {
* @return void
*/
public function testNoEntityLoading() {
$file = CAKE . 'VERSION.txt';
$file = str_replace(' ' , '%20' , CAKE . 'VERSION.txt');
$xml = <<<XML
<!DOCTYPE cakephp [
<!ENTITY payload SYSTEM "file://$file" >]>
Expand Down

0 comments on commit ac33e82

Please sign in to comment.