Skip to content

Instantly share code, notes, and snippets.

@ravage84
Created February 3, 2013 17:51
Show Gist options
  • Save ravage84/4702805 to your computer and use it in GitHub Desktop.
Save ravage84/4702805 to your computer and use it in GitHub Desktop.
CakePHP AllTests on core fails with 1 error and two failures on Windows 7, PHP 5.4.7 and MySQL 5.5.27
Time: 06:04, Memory: 129.75Mb
There was 1 error:
1) FileEngineTest::testGroupClear
unlink(D:\dev\xampp\htdocs\cakephp_2.3_clean\app\tmp\cache\group_a\cake_test_gro
ups3): Permission denied
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Cache\Engine\FileEngine.php:368
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Cache\Cache.php:468
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Test\Case\Cache\Engine\FileEngine
Test.php:441
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestCase.php:78
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestRunner.php:61
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestSuiteCommand.ph
p:114
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:274
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:317
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:256
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Shell.php:391
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:199
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:67
There were 2 failures:
1) FileEngineTest::testClear
Failed asserting that true is false.
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Test\Case\Cache\Engine\FileEngine
Test.php:211
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestCase.php:78
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestRunner.php:61
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestSuiteCommand.ph
p:114
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:274
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:317
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:256
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Shell.php:391
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:199
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:67
2) CakeResponseTest::testDisableCache
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
'Expires' => 'Mon, 26 Jul 1997 05:00:00 GMT'
- 'Last-Modified' => 'Sun, 03 Feb 2013 17:48:31 GMT'
+ 'Last-Modified' => 'Sun, 03 Feb 2013 17:48:32 GMT'
'Cache-Control' => 'no-store, no-cache, must-reva...heck=0'
)
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Test\Case\Network\CakeResponseTes
t.php:282
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestCase.php:78
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestRunner.php:61
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\TestSuite\CakeTestSuiteCommand.ph
p:114
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:274
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:317
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Command\TestShell.php:256
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\Shell.php:391
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:199
D:\dev\xampp\htdocs\cakephp_2.3_clean\lib\Cake\Console\ShellDispatcher.php:67
FAILURES!
Tests: 3268, Assertions: 17892, Failures: 2, Errors: 1, Skipped: 149.
--
@dereuromark
Copy link

Some tests - like the cache test - also fail for me. Don't worry :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment