Skip to content

Commit

Permalink
#32 : Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
gazbert committed Mar 23, 2020
1 parent 577fd6e commit e6ff7be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class TestJwtAuthenticationRequest {
@Test
public void testEmptyConstructorWorksAsExpected() {
final JwtAuthenticationRequest jwtAuthenticationRequest = new JwtAuthenticationRequest();
assertNull(jwtAuthenticationRequest.getUsername());
assertNull(jwtAuthenticationRequest.getPassword());
assertEquals("", jwtAuthenticationRequest.getUsername());
assertEquals("", jwtAuthenticationRequest.getPassword());
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class TestJwtAuthenticationResponse {
@Test
public void testEmptyConstructorWorksAsExpected() {
final JwtAuthenticationResponse jwtAuthenticationResponse = new JwtAuthenticationResponse();
assertNull(jwtAuthenticationResponse.getToken());
assertEquals("", jwtAuthenticationResponse.getToken());
}

@Test
Expand Down

0 comments on commit e6ff7be

Please sign in to comment.