mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
fix checklist unit tests
This commit is contained in:
@@ -70,7 +70,7 @@ class iTopModulesXmlVersionChecklistTest extends ItopTestCase
|
||||
$sPath = APPROOT.'datamodels/2.x/*/datamodel.*.xml';
|
||||
$aXmlFiles = glob($sPath);
|
||||
|
||||
$sItopVersionShort = \utils::GetItopVersionShort();
|
||||
$sItopVersionShort = \utils::GetItopPatchVersion();
|
||||
$aItopVersion = explode('.', $sItopVersionShort);
|
||||
$sExpectedXmlVersion = ($aItopVersion[0] - 1).'.'.($aItopVersion[1]); // eg: 2.7.0-dev become 1.7
|
||||
|
||||
|
||||
Reference in New Issue
Block a user