mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-21 17:10:00 +02:00
fix ci: DataSynchroTest adapted for Admin profile renaming
This commit is contained in:
@@ -43,7 +43,7 @@ class DataSynchroTest extends ItopDataTestCase
|
|||||||
$oSet = new DBObjectSet($oSearch);
|
$oSet = new DBObjectSet($oSearch);
|
||||||
if ($oSet->Count() == 0)
|
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);
|
$oProfileSet = new DBObjectSet($oProfileSearch);
|
||||||
$oAdminProfile = $oProfileSet->fetch();
|
$oAdminProfile = $oProfileSet->fetch();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user