From 59792b2a3de1a16e41de64cac816590c5b3e60ef Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 16 Jan 2023 11:55:05 +0100 Subject: [PATCH] =?UTF-8?q?:white=5Fcheck=5Fmark:=20N=C2=B04660=20Remove?= =?UTF-8?q?=20useless=20chmod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unitary-tests/webservices/ImportTest.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/php-unit-tests/unitary-tests/webservices/ImportTest.inc.php b/tests/php-unit-tests/unitary-tests/webservices/ImportTest.inc.php index 0f10350c8..8015cf03a 100644 --- a/tests/php-unit-tests/unitary-tests/webservices/ImportTest.inc.php +++ b/tests/php-unit-tests/unitary-tests/webservices/ImportTest.inc.php @@ -2,7 +2,6 @@ namespace Combodo\iTop\Test\UnitTest\Webservices; -use CMDBSource; use Combodo\iTop\Test\UnitTest\ItopDataTestCase; use MetaModel; @@ -37,10 +36,7 @@ class ImportTest extends ItopDataTestCase { $this->sLogin = "import-" .$this->sUid; $this->oOrg = $this->CreateOrganization($this->sUid); - $sConfigFile = \utils::GetConfig()->GetLoadedFile(); - @chmod($sConfigFile, 0770); $this->sUrl = \MetaModel::GetConfig()->Get('app_root_url'); - @chmod($sConfigFile, 0444); // Read-only $oRestProfile = \MetaModel::GetObjectFromOQL("SELECT URP_Profiles WHERE name = :name", array('name' => 'REST Services User'), true); $oAdminProfile = \MetaModel::GetObjectFromOQL("SELECT URP_Profiles WHERE name = :name", array('name' => 'Administrator'), true);