aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-26 22:53:08 +0100
committerJustin Clark-Casey (justincc)2012-06-26 22:53:08 +0100
commit99954c14980817adae427ab8ac4cdf07cbad0d7d (patch)
treed0b7af197503015ba5729aa5c4e8269508ad9b17 /OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs
parentrefactor: Use local attachment module variables instead of global m_attMod. (diff)
downloadopensim-SC-99954c14980817adae427ab8ac4cdf07cbad0d7d.zip
opensim-SC-99954c14980817adae427ab8ac4cdf07cbad0d7d.tar.gz
opensim-SC-99954c14980817adae427ab8ac4cdf07cbad0d7d.tar.bz2
opensim-SC-99954c14980817adae427ab8ac4cdf07cbad0d7d.tar.xz
refactor: Remove unnecessary AttachmentModuleTests.m_userId in favour of local variables
Diffstat (limited to '')
-rw-r--r--OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs b/OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs
index b73df2c..3d3e65c 100644
--- a/OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs
+++ b/OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs
@@ -126,6 +126,11 @@ namespace OpenSim.Tests.Common
126 return CreateUserWithInventory(scene, "Bill", "Bailey", userId, "troll"); 126 return CreateUserWithInventory(scene, "Bill", "Bailey", userId, "troll");
127 } 127 }
128 128
129 public static UserAccount CreateUserWithInventory(Scene scene, int userId)
130 {
131 return CreateUserWithInventory(scene, "Bill", "Bailey", TestHelpers.ParseTail(userId), "troll");
132 }
133
129 public static UserAccount CreateUserWithInventory( 134 public static UserAccount CreateUserWithInventory(
130 Scene scene, string firstName, string lastName, UUID userId, string pw) 135 Scene scene, string firstName, string lastName, UUID userId, string pw)
131 { 136 {