Permalink
Browse files

Fixing broken skipIf commited in 46948dd

  • Loading branch information...
1 parent 5653c72 commit 7a655f7fdebbe467512803c3d16e68b67b7c703d @markstory markstory committed Feb 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/view/theme.test.php
@@ -321,7 +321,7 @@ function testMissingLayout() {
* @return void
*/
function testMemoryLeakInPaths() {
- if ($this->skipIf(function_exists('get_memory_usage'), 'No memory measurement function, fail. %s')) {
+ if ($this->skipIf(!function_exists('memory_get_usage'), 'No memory measurement function, fail. %s')) {
return;
}
$this->Controller->plugin = null;

0 comments on commit 7a655f7

Please sign in to comment.