RequireOnceItopFile('core/config.class.inc.php'); $this->RequireOnceItopFile('setup/itopdesignformat.class.inc.php'); } /** * Verify if the latest version of the XML datamodel is aligned with the app. core version * This is an integration test * * @group skipPostBuild */ public function testItopXmlVersion() { // Retrieve only first 2 parts of the version $aCoreVersionParts = explode('.', ITOP_CORE_VERSION); $sCoreVersion = $aCoreVersionParts[0].'.'.$aCoreVersionParts[1]; $sXMLVersion = ITOP_DESIGN_LATEST_VERSION; $this->assertSame($sXMLVersion, $sCoreVersion, "XML datamodel version (ITOP_DESIGN_LATEST_VERSION={$sXMLVersion}) is not aligned with the app. core version (ITOP_CORE_VERSION={$sCoreVersion})"); } }