From 067cbe2afa60aa94de1833ceffef6250ad179a5c Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 9 Apr 2021 12:03:20 +0200 Subject: [PATCH] fix ci: DataSynchroTest adapted for Admin profile renaming --- test/synchro/DataSynchroTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/synchro/DataSynchroTest.php b/test/synchro/DataSynchroTest.php index 0da7f1466..eea632bc2 100644 --- a/test/synchro/DataSynchroTest.php +++ b/test/synchro/DataSynchroTest.php @@ -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();