diff --git a/pubnub-chat-impl/src/commonTest/kotlin/com/pubnub/kmp/ChatTest.kt b/pubnub-chat-impl/src/commonTest/kotlin/com/pubnub/kmp/ChatTest.kt index c57910c7..677cd5d3 100644 --- a/pubnub-chat-impl/src/commonTest/kotlin/com/pubnub/kmp/ChatTest.kt +++ b/pubnub-chat-impl/src/commonTest/kotlin/com/pubnub/kmp/ChatTest.kt @@ -1363,7 +1363,7 @@ class ChatTest : BaseTest() { every { manageChannelMembersEndpoint.async(any()) } calls { (callback: Consumer>) -> callback.accept(Result.success(pnMemberArrayResult)) } - every { pubnub.publish(channel = capture(userIdSlot), message = any(), customMessageType = "moderation") } returns publishEndpoint + every { pubnub.publish(channel = capture(userIdSlot), message = any(), customMessageType = "moderated") } returns publishEndpoint every { publishEndpoint.async(any()) } calls { (callback1: Consumer>) -> callback1.accept(Result.success(PNPublishResult(timetoken))) }