diff options
author | Diva Canto | 2015-05-25 15:19:00 -0700 |
---|---|---|
committer | Diva Canto | 2015-05-25 15:19:00 -0700 |
commit | 35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0 (patch) | |
tree | 2df09e55b8582272f03973e4c29d83e7799c7915 /OpenSim/Tests/Robust | |
parent | One more test in UserAccountsClient. (diff) | |
download | opensim-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')
-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 | } |