Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wkal-pubnub committed Nov 27, 2024
1 parent 0ed259d commit 20e249c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ class ChatTest : BaseTest() {
every { manageChannelMembersEndpoint.async(any()) } calls { (callback: Consumer<Result<PNMemberArrayResult>>) ->
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<Result<PNPublishResult>>) ->
callback1.accept(Result.success(PNPublishResult(timetoken)))
}
Expand Down

0 comments on commit 20e249c

Please sign in to comment.