N°6275-fix CoreCannotSaveObjectException: Login must be unique (ormCaseLogTest L.47)

This commit is contained in:
odain
2023-05-09 14:22:29 +02:00
parent beaa50c860
commit 2c3b8c0bcd

View File

@@ -33,7 +33,7 @@ class ormCaseLogTest extends ItopDataTestCase
$oAdminProfile = \MetaModel::GetObjectFromOQL("SELECT URP_Profiles WHERE name = :name", array('name' => 'Administrator'), true);
if (is_object($oAdminProfile)) {
$this->sLogin = "admin-".date('dmYHis');
$this->sLogin = sprintf("admin-%s-%s", date('dmYHis'), uniqid());
$this->CreateTestOrganization();