diff --git a/pubnub-gson/pubnub-gson-impl/src/main/java/com/pubnub/internal/java/endpoints/HistoryImpl.java b/pubnub-gson/pubnub-gson-impl/src/main/java/com/pubnub/internal/java/endpoints/HistoryImpl.java index 304b0c318..9d1147460 100644 --- a/pubnub-gson/pubnub-gson-impl/src/main/java/com/pubnub/internal/java/endpoints/HistoryImpl.java +++ b/pubnub-gson/pubnub-gson-impl/src/main/java/com/pubnub/internal/java/endpoints/HistoryImpl.java @@ -29,7 +29,7 @@ public HistoryImpl(PubNub pubnub) { @Override @NotNull protected Endpoint createRemoteAction() { - return pubnub.history(channel, start, end, count, reverse, includeTimetoken, includeMeta, false); + return pubnub.history(channel, start, end, count, reverse, includeTimetoken, includeMeta); } @Override diff --git a/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/contract/subscribe/eventEngine/step/EventEngineSteps.kt b/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/contract/subscribe/eventEngine/step/EventEngineSteps.kt index 7590df1b3..e32d0fc23 100644 --- a/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/contract/subscribe/eventEngine/step/EventEngineSteps.kt +++ b/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/contract/subscribe/eventEngine/step/EventEngineSteps.kt @@ -47,7 +47,6 @@ class EventEngineSteps(private val state: EventEngineState) { pubnub: PubNub, pnMessageResult: PNMessageResult, ) { - println("-=message: ${pnMessageResult.customMessageType}") state.messagesList.add(pnMessageResult) } @@ -164,13 +163,11 @@ class EventEngineSteps(private val state: EventEngineState) { state.messagesList.map { it::class.java }, CoreMatchers.hasItems(PNMessageResult::class.java), ) - println("-=size: ${state.messagesList.size}") } } @Then("I receive 2 messages in my subscribe response") fun i_receive_2_messages_in_my_subscribe_response(){ - println("-=I receive 2 messages in my subscribe ") await.pollInterval(50, TimeUnit.MILLISECONDS).atMost(2, TimeUnit.SECONDS).untilAsserted { MatcherAssert.assertThat( state.messagesList.size, Matchers.`is`(2)