test SDK enhancement: be able to compare moduleinstallation

ci: add log and hopefully fix hub test

ci: fix all test that rely on CustomDataTC
This commit is contained in:
odain
2025-12-30 16:39:25 +01:00
parent 83973d102f
commit f2e682c07c
3 changed files with 75 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
namespace Combodo\iTop\Test\UnitTest\HubConnector;
use Combodo\iTop\DBTools\Service\DBToolsUtils;
use Combodo\iTop\HubConnector\Controller\HubController;
use Combodo\iTop\Test\UnitTest\ItopDataTestCase;
use DOMFormatException;
@@ -45,6 +46,7 @@ class HubControllerTest extends ItopDataTestCase
$this->testLaunchCompile();
HubController::GetInstance()->LaunchDeploy();
$this->CheckReport('{"code":0,"message":"Compilation successful.","fields":[]}');
$this->CompareCurrentAndPreviousModuleInstallations();
}
private function CheckReport($sExpected)