mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Migrating all View tests to the new plugin loader
This commit is contained in:
parent
f18b9aae7b
commit
0573037f2c
2 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,6 @@ class App {
|
||||||
}
|
}
|
||||||
self::$__packages[$type] = (array)$new;
|
self::$__packages[$type] = (array)$new;
|
||||||
}
|
}
|
||||||
CakePlugin::unload();
|
|
||||||
return $paths;
|
return $paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -212,6 +212,7 @@ class ViewTest extends CakeTestCase {
|
||||||
*/
|
*/
|
||||||
function tearDown() {
|
function tearDown() {
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
|
CakePlugin::unload();
|
||||||
unset($this->View);
|
unset($this->View);
|
||||||
unset($this->PostsController);
|
unset($this->PostsController);
|
||||||
unset($this->Controller);
|
unset($this->Controller);
|
||||||
|
|
Loading…
Reference in a new issue