diff options
author | Justin Clark-Casey (justincc) | 2012-06-26 22:53:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-26 22:53:08 +0100 |
commit | 99954c14980817adae427ab8ac4cdf07cbad0d7d (patch) | |
tree | d0b7af197503015ba5729aa5c4e8269508ad9b17 /OpenSim/Tests/Common/Helpers | |
parent | refactor: Use local attachment module variables instead of global m_attMod. (diff) | |
download | opensim-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 'OpenSim/Tests/Common/Helpers')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/UserAccountHelpers.cs | 5 |
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 | { |