Fix CI

This commit is contained in:
Eric Espie
2026-01-19 17:58:36 +01:00
parent 5346ccd13d
commit 7ffddbb633
4 changed files with 18 additions and 17 deletions

View File

@@ -36,12 +36,15 @@ class DashboardSerializerTest extends ItopDataTestCase
/** @var \Combodo\iTop\DesignElement $oRootNode */
$oRootNode = $oDOMDocument->createElement('root');
$oRootNode->setAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');
$oDOMDocument->appendChild($oRootNode);
Combodo\iTop\PropertyType\Serializer\XMLSerializer::GetInstance()->Serialize($normalizedValue, $oRootNode, 'DashboardDefinition', 'Dashboard');
Combodo\iTop\PropertyType\Serializer\XMLSerializer::GetInstance()->Serialize($normalizedValue, $oRootNode, 'DashboardGrid', 'Dashboard');
$sActualXML = $oDOMDocument->saveXML();
var_export($sActualXML);
$this->AssertEqualiTopXML($sXMLContent, $sActualXML);
}
@@ -72,7 +75,7 @@ class DashboardSerializerTest extends ItopDataTestCase
],
'sXMLContent' => <<<XML
<?xml version="1.0"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Combodo-Dashboard-Grid">
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<title>Bienvenido al Panel de Control Panel</title>
<refresh>60</refresh>
<pos_dashlets>