mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Simplify TestLoadIarV0_1AbsentUsers() to use common IAR test setup. Make static dictionaries on NullUserAccountData instance instead to stop user accounts being carried over between tests
This commit is contained in:
@@ -304,12 +304,12 @@ namespace OpenSim.Tests.Common.Setup
|
||||
config.Configs["UserAccountService"].Set(
|
||||
"LocalServiceModule", "OpenSim.Services.UserAccountService.dll:UserAccountService");
|
||||
|
||||
if (m_userAccountService == null)
|
||||
{
|
||||
// if (m_userAccountService == null)
|
||||
// {
|
||||
ISharedRegionModule userAccountService = new LocalUserAccountServicesConnector();
|
||||
userAccountService.Initialise(config);
|
||||
m_userAccountService = userAccountService;
|
||||
}
|
||||
// }
|
||||
|
||||
m_userAccountService.AddRegion(testScene);
|
||||
m_userAccountService.RegionLoaded(testScene);
|
||||
|
||||
Reference in New Issue
Block a user