mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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
|
* @return void
|
||||||
*/
|
*/
|
||||||
function testMemoryLeakInPaths() {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
$this->Controller->plugin = null;
|
$this->Controller->plugin = null;
|
||||||
|
|
Loading…
Reference in a new issue