Skip to content

Commit

Permalink
Failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
  • Loading branch information
AndyScherzinger committed Sep 18, 2023
1 parent 7a132a8 commit 950bd98
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class UserIdUtilsTest {
fun testGetIdForUser_if_userIsNull_returnsNoId() {
Mockito.`when`(user.id).thenReturn(null)
val result = UserIdUtils.getIdForUser(user)
Assert.fail("BOOM")
Assert.assertEquals("The id is NO_ID when user is null", UserIdUtils.NO_ID, result)
}

Expand Down

0 comments on commit 950bd98

Please sign in to comment.