Minor change of statement order in unit test
parent
aefed57158
commit
35d58fe9d4
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue