Skip to content
Permalink
Browse files

Changing some requires so things run smoother.

  • Loading branch information...
markstory committed Dec 4, 2010
1 parent ba63a29 commit 0b18fc25a697914c34d55b3372f02bd1e8ea4ab0
Showing with 3 additions and 4 deletions.
  1. +2 −2 cake/tests/cases/libs/app.test.php
  2. +1 −2 cake/tests/cases/libs/cache/memcache.test.php
@@ -211,9 +211,9 @@ function testClassLoading() {
$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);
@@ -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 {
/**

0 comments on commit 0b18fc2

Please sign in to comment.
You can’t perform that action at this time.