Skip to content

Commit

Permalink
Fixing failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 10, 2010
1 parent f202f89 commit d28f7f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cake/libs/configure.php
Expand Up @@ -615,7 +615,7 @@ public static function build($paths = array(), $reset = false) {
$merge = array_merge($merge, (array)$core[$type]);
}

if (empty($_this->{$type}) || empty($paths)) {
if (empty(self::${$type}) || empty($paths)) {
self::${$type} = $default;
}

Expand Down
1 change: 0 additions & 1 deletion cake/tests/cases/libs/configure.test.php
Expand Up @@ -638,7 +638,6 @@ function testFileLoading () {
$file = App::import('File', 'NoFile', false, array(), TEST_CAKE_CORE_INCLUDE_PATH . 'config' . DS . 'cake' . DS . 'config.php');
$this->assertFalse($file);
}
// import($type = null, $name = null, $parent = true, $file = null, $search = array(), $return = false) {

/**
* testFileLoadingWithArray method
Expand Down

0 comments on commit d28f7f4

Please sign in to comment.