fix ci: DataSynchroTest adapted for Admin profile renaming

This commit is contained in:
odain
2021-04-09 12:03:20 +02:00
parent a99f4c0666
commit 067cbe2afa

View File

@@ -43,7 +43,7 @@ class DataSynchroTest extends ItopDataTestCase
$oSet = new DBObjectSet($oSearch);
if ($oSet->Count() == 0)
{
$oProfileSearch = DBSearch::FromOQL('SELECT URP_Profiles WHERE name LIKE "administrator"');
$oProfileSearch = DBSearch::FromOQL('SELECT URP_Profiles WHERE id = 1');
$oProfileSet = new DBObjectSet($oProfileSearch);
$oAdminProfile = $oProfileSet->fetch();