mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Clear application plugins before running the first test.
This commit is contained in:
parent
a7ec73b523
commit
4ccf5c0885
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class CakePluginTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
public function testLoadSingle() {
|
||||
CakePlugin::unload();
|
||||
CakePlugin::load('TestPlugin');
|
||||
$expected = array('TestPlugin');
|
||||
$this->assertEquals($expected, CakePlugin::loaded());
|
||||
|
|
Loading…
Add table
Reference in a new issue