aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
diff options
context:
space:
mode:
authorDiva Canto2015-05-25 15:19:00 -0700
committerDiva Canto2015-05-25 15:19:00 -0700
commit35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0 (patch)
tree2df09e55b8582272f03973e4c29d83e7799c7915 /OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
parentOne more test in UserAccountsClient. (diff)
downloadopensim-SC-35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0.zip
opensim-SC-35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0.tar.gz
opensim-SC-35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0.tar.bz2
opensim-SC-35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0.tar.xz
Minor change of statement order in unit test
Diffstat (limited to 'OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs')
-rw-r--r--OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs b/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
index 2c327e8..3238dc9 100644
--- a/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
+++ b/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
@@ -73,12 +73,13 @@ namespace Robust.Tests
73 Assert.NotNull(account, "Failed to retrieve account for user id " + user1); 73 Assert.NotNull(account, "Failed to retrieve account for user id " + user1);
74 Assert.AreEqual(account.Email, "user@example.com", "Incorrect email"); 74 Assert.AreEqual(account.Email, "user@example.com", "Incorrect email");
75 75
76 account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist");
77 Assert.IsNull(account, "Account DoesNot Exit must not be there");
78
79 account = new UserAccount(UUID.Zero, "DoesNot", "Exist", "xxx@xxx.com"); 76 account = new UserAccount(UUID.Zero, "DoesNot", "Exist", "xxx@xxx.com");
80 success = m_Connector.StoreUserAccount(account); 77 success = m_Connector.StoreUserAccount(account);
81 Assert.IsFalse(success, "Storing a non-existing account must fail"); 78 Assert.IsFalse(success, "Storing a non-existing account must fail");
79
80 account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist");
81 Assert.IsNull(account, "Account DoesNot Exist must not be there");
82
82 } 83 }
83 84
84 } 85 }