mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating PhpReader test
This commit is contained in:
parent
da6e0c0589
commit
53037d90d6
1 changed files with 2 additions and 0 deletions
|
@ -85,11 +85,13 @@ class PhpReaderTest extends CakeTestCase {
|
|||
App::build(array(
|
||||
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)
|
||||
), true);
|
||||
CakePlugin::load('TestPlugin');
|
||||
$reader = new PhpReader($this->path);
|
||||
$result = $reader->read('TestPlugin.load');
|
||||
$this->assertTrue(isset($result['plugin_load']));
|
||||
|
||||
$result = $reader->read('TestPlugin.load.php');
|
||||
$this->assertTrue(isset($result['plugin_load']));
|
||||
CakePlugin::unload();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue