mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3251 - Restore 2.7 behaviour of ExecITopScript (hide passwords from commandline arguments) and allow tests to provide credentials
This commit is contained in:
@@ -60,11 +60,8 @@ class DataSynchroTest extends ItopDataTestCase
|
||||
|
||||
protected function ExecSynchroImport($aParams, $bSynchroByHttp)
|
||||
{
|
||||
$aParams['auth_user'] = static::AUTH_USER;
|
||||
$aParams['auth_pwd'] = static::AUTH_PWD;
|
||||
|
||||
if (!$bSynchroByHttp) {
|
||||
return utils::ExecITopScript('synchro/synchro_import.php', $aParams);
|
||||
return utils::ExecITopScript('synchro/synchro_import.php', $aParams, static::AUTH_USER, static::AUTH_PWD);
|
||||
}
|
||||
|
||||
//$aParams['output'] = 'details';
|
||||
|
||||
Reference in New Issue
Block a user