From 984ee118067929f60e93324f9279b3a46c876d7b Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Thu, 28 Aug 2025 15:28:02 +0200 Subject: [PATCH] remove tests --- .../com/bitchat/NotificationManagerTest.kt | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/app/src/test/kotlin/com/bitchat/NotificationManagerTest.kt b/app/src/test/kotlin/com/bitchat/NotificationManagerTest.kt index 23e20912..9f821fcb 100644 --- a/app/src/test/kotlin/com/bitchat/NotificationManagerTest.kt +++ b/app/src/test/kotlin/com/bitchat/NotificationManagerTest.kt @@ -107,38 +107,4 @@ class NotificationManagerTest { notificationManager.showActiveUserNotification(listOf("peer-3")) verify(notificationManagerCompat, times(1)).notify(any(), any()) } - - @Test - fun `geohash notification includes location name when available`() { - notificationManager.setAppBackgroundState(true) - notificationManager.setCurrentGeohash("abc123") - - notificationManager.showGeohashNotification( - geohash = "abc123", - senderNickname = "testuser", - messageContent = "Hello world", - isMention = false, - isFirstMessage = false, - locationName = "San Francisco" - ) - - verify(notificationManagerCompat, times(1)).notify(any(), any()) - } - - @Test - fun `geohash notification works without location name`() { - notificationManager.setAppBackgroundState(true) - notificationManager.setCurrentGeohash("abc123") - - notificationManager.showGeohashNotification( - geohash = "abc123", - senderNickname = "testuser", - messageContent = "Hello world", - isMention = false, - isFirstMessage = false, - locationName = null - ) - - verify(notificationManagerCompat, times(1)).notify(any(), any()) - } }