diff --git a/cake/tests/cases/libs/view/theme.test.php b/cake/tests/cases/libs/view/theme.test.php index ae75e243f..6d1cfae3e 100644 --- a/cake/tests/cases/libs/view/theme.test.php +++ b/cake/tests/cases/libs/view/theme.test.php @@ -321,7 +321,7 @@ class ThemeViewTest extends CakeTestCase { * @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;