Skip to content

Commit f52e0f4

Browse files
author
Sean Sparkman
committedJul 13, 2012
fixed login test scope
1 parent 924f2c4 commit f52e0f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎IInteractive.Projects.Test/TestJiraProjectsService.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ public void TestLoginUser()
6767
try
6868
{
6969
IAuthenticationToken authenticationToken = _service.Login(Username, Password);
70+
71+
Assert.IsNotNull(authenticationToken);
72+
Assert.IsFalse(string.IsNullOrWhiteSpace(authenticationToken.Token));
7073
}
7174
catch (Exception exception)
7275
{
7376
Assert.Fail("Failed to login ({0},{1}) due to exception: {2}", Username, Password, exception.Message);
7477
}
75-
76-
Assert.IsNotNull(authenticationToken);
77-
Assert.IsFalse(string.IsNullOrWhiteSpace(authenticationToken.Token));
7878
}
7979

8080
[TestMethod]

0 commit comments

Comments
 (0)
Please sign in to comment.