use of com.commercetools.sync.services.impl.ChannelServiceImpl in project commercetools-sync-java by commercetools.
the class ChannelServiceImplIT method setup.
/**
* Deletes inventories and supply channels from source and target CTP projects. Populates target
* CTP project with test data.
*/
@BeforeEach
void setup() {
deleteInventoryEntriesFromTargetAndSource();
deleteTypesFromTargetAndSource();
deleteChannelsFromTargetAndSource();
populateTargetProject();
final InventorySyncOptions inventorySyncOptions = InventorySyncOptionsBuilder.of(CTP_TARGET_CLIENT).build();
channelService = new ChannelServiceImpl(inventorySyncOptions, singleton(ChannelRole.INVENTORY_SUPPLY));
}
Aggregations