mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* This should fix the tests failing because of a MainConsole.Instance null reference
* Added a MockConsole that doesn't require a handle to System.Console
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenSim.Tests.Common.Setup
|
||||
//{
|
||||
// System.Console.WriteLine("Starting a brand new scene");
|
||||
// newScene = true;
|
||||
// MainConsole.Instance = new LocalConsole("TEST PROMPT");
|
||||
MainConsole.Instance = new MockConsole("TEST PROMPT");
|
||||
// MainServer.Instance = new BaseHttpServer(980);
|
||||
// commsManager = cm;
|
||||
//}
|
||||
@@ -204,7 +204,7 @@ namespace OpenSim.Tests.Common.Setup
|
||||
m_inventoryService.PostInitialise();
|
||||
m_assetService.PostInitialise();
|
||||
m_userAccountService.PostInitialise();
|
||||
|
||||
testScene.RegionInfo.EstateSettings.EstateOwner = UUID.Random();
|
||||
testScene.SetModuleInterfaces();
|
||||
|
||||
testScene.LandChannel = new TestLandChannel(testScene);
|
||||
|
||||
Reference in New Issue
Block a user