Browse Source

Merge pull request #6207 from cakephp/fix-segfault-php7

Preventing PHP to segfault on PHP 7
José Lorenzo Rodríguez 11 years ago
parent
commit
a3bbb1202e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/View/Helper/RssHelperTest.php

+ 1 - 1
tests/TestCase/View/Helper/RssHelperTest.php

@@ -598,7 +598,7 @@ class RssHelperTest extends TestCase
         $tmpFile = WWW_ROOT . 'tests/cakephp.file.test.tmp';
         $File = new File($tmpFile, true);
 
-        $this->assertTrue($File->write('123'), 'Could not write to ' . $tmpFile);
+        $this->assertTrue($File->write('1234'), 'Could not write to ' . $tmpFile);
 
         clearstatcache();