mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Minor change of statement order in unit test
This commit is contained in:
@@ -73,12 +73,13 @@ namespace Robust.Tests
|
||||
Assert.NotNull(account, "Failed to retrieve account for user id " + user1);
|
||||
Assert.AreEqual(account.Email, "user@example.com", "Incorrect email");
|
||||
|
||||
account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist");
|
||||
Assert.IsNull(account, "Account DoesNot Exit must not be there");
|
||||
|
||||
account = new UserAccount(UUID.Zero, "DoesNot", "Exist", "xxx@xxx.com");
|
||||
success = m_Connector.StoreUserAccount(account);
|
||||
Assert.IsFalse(success, "Storing a non-existing account must fail");
|
||||
|
||||
account = m_Connector.GetUserAccount(UUID.Zero, "DoesNot", "Exist");
|
||||
Assert.IsNull(account, "Account DoesNot Exist must not be there");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user