Skip to content

Commit

Permalink
Changing some requires so things run smoother.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 4, 2010
1 parent ba63a29 commit 0b18fc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cake/tests/cases/libs/app.test.php
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions cake/tests/cases/libs/cache/memcache.test.php
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit 0b18fc2

Please sign in to comment.