diff --git a/app/src/test/java/com/nextcloud/talk/utils/UserIdUtilsTest.kt b/app/src/test/java/com/nextcloud/talk/utils/UserIdUtilsTest.kt index 02a498cff33..956606027d4 100644 --- a/app/src/test/java/com/nextcloud/talk/utils/UserIdUtilsTest.kt +++ b/app/src/test/java/com/nextcloud/talk/utils/UserIdUtilsTest.kt @@ -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) }