aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorDiva Canto2015-05-12 08:55:32 -0700
committerDiva Canto2015-05-12 08:55:32 -0700
commitaefed571587a620948ef283411d71732a10a3522 (patch)
treec15c88931c4f98b4963a6d8a9aad668365639c17 /OpenSim/Tests
parentAgain, forgot to update Prebuild.xml regarding the deleted test client projec... (diff)
downloadopensim-SC_OLD-aefed571587a620948ef283411d71732a10a3522.zip
opensim-SC_OLD-aefed571587a620948ef283411d71732a10a3522.tar.gz
opensim-SC_OLD-aefed571587a620948ef283411d71732a10a3522.tar.bz2
opensim-SC_OLD-aefed571587a620948ef283411d71732a10a3522.tar.xz
One more test in UserAccountsClient.
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs b/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
index 2f92123..2c327e8 100644
--- a/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
+++ b/OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs
@@ -67,7 +67,7 @@ namespace Robust.Tests
67 67
68 account.Email = "user@example.com"; 68 account.Email = "user@example.com";
69 bool success = m_Connector.StoreUserAccount(account); 69 bool success = m_Connector.StoreUserAccount(account);
70 Assert.IsTrue(success, "Failed to store account"); 70 Assert.IsTrue(success, "Failed to store existing account");
71 71
72 account = m_Connector.GetUserAccount(UUID.Zero, user1); 72 account = m_Connector.GetUserAccount(UUID.Zero, user1);
73 Assert.NotNull(account, "Failed to retrieve account for user id " + user1); 73 Assert.NotNull(account, "Failed to retrieve account for user id " + user1);
@@ -75,6 +75,10 @@ namespace Robust.Tests
75 75
76 account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist"); 76 account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist");
77 Assert.IsNull(account, "Account DoesNot Exit must not be there"); 77 Assert.IsNull(account, "Account DoesNot Exit must not be there");
78
79 account = new UserAccount(UUID.Zero, "DoesNot", "Exist", "xxx@xxx.com");
80 success = m_Connector.StoreUserAccount(account);
81 Assert.IsFalse(success, "Storing a non-existing account must fail");
78 } 82 }
79 83
80 } 84 }