diff --git a/src/integration-test/java/com/commercetools/project/sync/ProductSyncWithReferenceResolutionIT.java b/src/integration-test/java/com/commercetools/project/sync/ProductSyncWithReferenceResolutionIT.java index 68378cdd..e602d63e 100644 --- a/src/integration-test/java/com/commercetools/project/sync/ProductSyncWithReferenceResolutionIT.java +++ b/src/integration-test/java/com/commercetools/project/sync/ProductSyncWithReferenceResolutionIT.java @@ -164,15 +164,15 @@ private void setupSourceProjectData(final ProjectApiRoot sourceProjectClient) { final CustomerGroup customerGroup = sourceProjectClient.customerGroups().post(customerGroupDraft).executeBlocking().getBody(); - CTP_TARGET_CLIENT.customerGroups().post(customerGroupDraft).executeBlocking().getBody(); + CTP_TARGET_CLIENT.customerGroups().post(customerGroupDraft).executeBlocking(); CustomFieldsDraft customFieldsDraft = CustomFieldsDraftBuilder.of().type(type.toResourceIdentifier()).build(); final ChannelDraft draft = ChannelDraftBuilder.of().key("channelKey").roles(ChannelRoleEnum.INVENTORY_SUPPLY).build(); - sourceProjectClient.channels().post(draft).executeBlocking().getBody(); - CTP_TARGET_CLIENT.channels().post(draft).executeBlocking().getBody(); + sourceProjectClient.channels().post(draft).executeBlocking(); + CTP_TARGET_CLIENT.channels().post(draft).executeBlocking(); final PriceDraft priceDraft = PriceDraftBuilder.of(getPriceDraft(22200L, "EUR", "DE", null, null, null))