Fix DBBackupTest (again :/)

Was working on Windows but not on Linux...
This commit is contained in:
Pierre Goiffon
2022-01-12 09:12:04 +01:00
parent a663e9fded
commit 0ee6c60e94
2 changed files with 2 additions and 2 deletions

View File

@@ -51,6 +51,6 @@ class DBBackupTest extends ItopTestCase
$oConfigToTest->Set('db_tls.ca', $sTestCa);
$sCliArgsCapathCfg = DBBackup::GetMysqlCliTlsOptions($oConfigToTest);
$this->assertStringStartsWith(' --ssl', $sCliArgsMinCfg);
$this->assertStringEndsWith('--ssl-ca="'.$sTestCa.'"', $sCliArgsCapathCfg);
$this->assertStringEndsWith('--ssl-ca='.DBBackup::EscapeShellArg($sTestCa), $sCliArgsCapathCfg);
}
}