diff --git a/chat-android/src/main/java/com/ably/chat/Presence.kt b/chat-android/src/main/java/com/ably/chat/Presence.kt index 63fdcbce..da905b9c 100644 --- a/chat-android/src/main/java/com/ably/chat/Presence.kt +++ b/chat-android/src/main/java/com/ably/chat/Presence.kt @@ -14,6 +14,7 @@ import io.ably.lib.realtime.Presence as PubSubPresence import io.ably.lib.realtime.Presence.PresenceListener as PubSubPresenceListener typealias PresenceData = JsonElement + /** * This interface is used to interact with presence in a chat room: subscribing to presence events, * fetching presence members, or sending presence events (join,update,leave). diff --git a/chat-android/src/test/java/com/ably/chat/SandboxTest.kt b/chat-android/src/test/java/com/ably/chat/SandboxTest.kt index 9c459af7..577dfdb7 100644 --- a/chat-android/src/test/java/com/ably/chat/SandboxTest.kt +++ b/chat-android/src/test/java/com/ably/chat/SandboxTest.kt @@ -4,6 +4,7 @@ import java.util.UUID import kotlinx.coroutines.test.runTest import org.junit.Assert.assertEquals import org.junit.Before +import org.junit.Ignore import org.junit.Test class SandboxTest { @@ -16,6 +17,7 @@ class SandboxTest { } @Test + @Ignore fun `should return empty list of presence members if nobody is entered`() = runTest { val chatClient = sandbox.createSandboxChatClient() val room = chatClient.rooms.get(UUID.randomUUID().toString()) @@ -25,6 +27,7 @@ class SandboxTest { } @Test + @Ignore fun `should return yourself as presence member after you entered`() = runTest { val chatClient = sandbox.createSandboxChatClient() val room = chatClient.rooms.get(UUID.randomUUID().toString())