From 0b18fc25a697914c34d55b3372f02bd1e8ea4ab0 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 4 Dec 2010 17:53:57 -0500 Subject: [PATCH] Changing some requires so things run smoother. --- cake/tests/cases/libs/app.test.php | 4 ++-- cake/tests/cases/libs/cache/memcache.test.php | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cake/tests/cases/libs/app.test.php b/cake/tests/cases/libs/app.test.php index 5a03cb623..2d7627cc6 100644 --- a/cake/tests/cases/libs/app.test.php +++ b/cake/tests/cases/libs/app.test.php @@ -211,9 +211,9 @@ class AppImportTest extends CakeTestCase { $this->assertTrue($file); $this->assertTrue(class_exists('Shell')); - $file = App::import('Lib', 'cache/Apc'); + $file = App::import('Lib', 'config/PhpReader'); $this->assertTrue($file); - $this->assertTrue(class_exists('ApcEngine')); + $this->assertTrue(class_exists('PhpReader')); $file = App::import('Model', 'SomeRandomModelThatDoesNotExist', false); $this->assertFalse($file); diff --git a/cake/tests/cases/libs/cache/memcache.test.php b/cake/tests/cases/libs/cache/memcache.test.php index 0eb11e71a..e69e243a2 100644 --- a/cake/tests/cases/libs/cache/memcache.test.php +++ b/cake/tests/cases/libs/cache/memcache.test.php @@ -20,8 +20,7 @@ if (!class_exists('Cache')) { require LIBS . 'cache.php'; } -App::import('Core', 'cache/Memcache'); - +require_once LIBS . 'cache' . DS . 'memcache.php'; class TestMemcacheEngine extends MemcacheEngine { /**