From 950bd989fb92ce30eae066b69d022420c96738c1 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 18 Sep 2023 20:11:10 +0200 Subject: [PATCH] Failing test Signed-off-by: Andy Scherzinger --- app/src/test/java/com/nextcloud/talk/utils/UserIdUtilsTest.kt | 1 + 1 file changed, 1 insertion(+) 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) }