mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-28 20:52:59 +00:00
Fixing failing test.
This commit is contained in:
parent
f202f89974
commit
d28f7f4144
2 changed files with 1 additions and 2 deletions
cake
|
@ -615,7 +615,7 @@ class App {
|
|||
$merge = array_merge($merge, (array)$core[$type]);
|
||||
}
|
||||
|
||||
if (empty($_this->{$type}) || empty($paths)) {
|
||||
if (empty(self::${$type}) || empty($paths)) {
|
||||
self::${$type} = $default;
|
||||
}
|
||||
|
||||
|
|
|
@ -638,7 +638,6 @@ class AppImportTest extends CakeTestCase {
|
|||
$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
|
||||
|
|
Loading…
Add table
Reference in a new issue