Fixing broken skipIf commited in 46948dd2c0

This commit is contained in:
Mark Story 2010-02-12 23:51:02 -05:00
parent 5653c720f0
commit 7a655f7fde

View file

@ -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;