mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-08 16:12:43 -04:00
Bug11831Test: fix PHP 5.3 compatibility
This commit is contained in:
parent
361bfc5081
commit
8f25dc3539
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ EOT;
|
|||
$reflection = new ReflectionClass($module);
|
||||
$prop = $reflection->getProperty('metadataFile');
|
||||
$prop->setAccessible(true);
|
||||
$prop->setValue($module, stream_get_meta_data($moduleInfoFile)['uri']);
|
||||
$meta = stream_get_meta_data($moduleInfoFile);
|
||||
$prop->setValue($module, $meta['uri']);
|
||||
$this->assertEquals($module->getVersion(), '1.0.0');
|
||||
fclose($moduleInfoFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue