diff options
Diffstat (limited to 'OpenSim/Tests/Robust')
-rw-r--r-- | OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs | 7 |
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 | } |