mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°4714 Update iTopXmlVersionIntegrationTest::testItopXmlVersion to use new constant
This commit is contained in:
@@ -50,10 +50,10 @@ class iTopXmlVersionIntegrationTest extends ItopTestCase
|
||||
public function testItopXmlVersion()
|
||||
{
|
||||
// Retrieve only first 2 parts of the version
|
||||
$aCoreVersionParts = explode('.', ITOP_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_VERSION={$sCoreVersion})");
|
||||
$this->assertSame($sXMLVersion, $sCoreVersion, "XML datamodel version (ITOP_DESIGN_LATEST_VERSION={$sXMLVersion}) is not aligned with the app. core version (ITOP_CORE_VERSION={$sCoreVersion})");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user