From 35d58fe9d489dbb20ee7bc4574b0084e12ff9ae0 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 25 May 2015 15:19:00 -0700 Subject: Minor change of statement order in unit test --- OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Tests/Robust/Clients/UserAccounts/UserAccountsClient.cs') 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 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"); + } } -- cgit v1.1