From db35048e12ea5c58a7ac6f56b037da019cef122a Mon Sep 17 00:00:00 2001 From: DarkAngelBGE Date: Tue, 13 May 2008 14:24:40 +0000 Subject: [PATCH] very small refactoring for apc.test.php git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6845 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/cache/apc.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/cache/apc.test.php b/cake/tests/cases/libs/cache/apc.test.php index 78ddbdb1c..b111fb058 100644 --- a/cake/tests/cases/libs/cache/apc.test.php +++ b/cake/tests/cases/libs/cache/apc.test.php @@ -37,10 +37,10 @@ class APCEngineTest extends UnitTestCase { function skip() { $skip = true; - if($result = Cache::engine('Apc')) { + if (Cache::engine('Apc')) { $skip = false; } - $this->skipif ($skip, 'APCEngineTest not implemented'); + $this->skipif($skip, 'APCEngineTest not implemented'); } function setUp() {