mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing broken skipIf commited in 46948dd2c0
This commit is contained in:
parent
5653c720f0
commit
7a655f7fde
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue