ItopDataTestCase fix cached SQL queries with silo

This commit is contained in:
Pierre Goiffon
2023-11-16 11:57:29 +01:00
parent a23d629e31
commit 0915081f50
2 changed files with 8 additions and 8 deletions

View File

@@ -520,14 +520,6 @@ class DBObjectTest extends ItopDataTestCase
}
}
/**
* Helper to reset the metamodel cache
* We might need to create something generic and add it to {@see UserRights::Logoff()} ?
*/
private function ResetMetaModelQueyCacheGetObject() {
$this->SetNonPublicStaticProperty(MetaModel::class, 'aQueryCacheGetObject', []);
}
private function CreateDemoOrgUser(Organization $oDemoOrg, string $sProfileId): User
{
utils::GetConfig()->SetModuleSetting('authent-local', 'password_validation.pattern', '');