mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 09:08:42 +02:00
N°6275-fix CoreCannotSaveObjectException: Login must be unique (ormCaseLogTest L.47)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user