diff options
author | Justin Clark-Casey (justincc) | 2011-07-09 02:27:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-09 02:27:47 +0100 |
commit | 457ba9d1a29daa203e326c6b9711c9e1ad99475d (patch) | |
tree | 18d256029a5aa13c2640e53300ca890815cd078d | |
parent | Rename SceneSetupHelpers.AddRootAgent to AddClient() to better represent its ... (diff) | |
download | opensim-SC_OLD-457ba9d1a29daa203e326c6b9711c9e1ad99475d.zip opensim-SC_OLD-457ba9d1a29daa203e326c6b9711c9e1ad99475d.tar.gz opensim-SC_OLD-457ba9d1a29daa203e326c6b9711c9e1ad99475d.tar.bz2 opensim-SC_OLD-457ba9d1a29daa203e326c6b9711c9e1ad99475d.tar.xz |
refactor: slightly simplify test
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs index 736dd72..07de908 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs | |||
@@ -52,10 +52,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
52 | AvatarFactoryModule afm = new AvatarFactoryModule(); | 52 | AvatarFactoryModule afm = new AvatarFactoryModule(); |
53 | TestScene scene = SceneSetupHelpers.SetupScene(); | 53 | TestScene scene = SceneSetupHelpers.SetupScene(); |
54 | SceneSetupHelpers.SetupSceneModules(scene, afm); | 54 | SceneSetupHelpers.SetupSceneModules(scene, afm); |
55 | 55 | TestClient tc = SceneSetupHelpers.AddClient(scene, userId); | |
56 | AgentCircuitData acd = new AgentCircuitData(); | ||
57 | acd.AgentID = userId; | ||
58 | TestClient tc = SceneSetupHelpers.AddClient(scene, acd); | ||
59 | 56 | ||
60 | byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT]; | 57 | byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT]; |
61 | for (byte i = 0; i < visualParams.Length; i++) | 58 | for (byte i = 0; i < visualParams.Length; i++) |