Skip to content

Commit

Permalink
MSI: Bugfixing of SalesChannelManagement
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriy Nayda committed Nov 10, 2017
1 parent af3e298 commit cb6eb12
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,18 @@ public function testUpdateStockWithSalesChannelsReplacing(array $salesChannels)
public function updateStockWithSalesChannelsReplacingDataProvider(): array
{
return [
'replace_sales_channels' => [[
'replace_sales_channels' => [
[
SalesChannelInterface::TYPE => SalesChannelInterface::TYPE_WEBSITE,
SalesChannelInterface::CODE => 'test_1',
[
SalesChannelInterface::TYPE => SalesChannelInterface::TYPE_WEBSITE,
SalesChannelInterface::CODE => 'test_1',
],
[
SalesChannelInterface::TYPE => SalesChannelInterface::TYPE_WEBSITE,
SalesChannelInterface::CODE => 'test_2',
],
],
[
SalesChannelInterface::TYPE => SalesChannelInterface::TYPE_WEBSITE,
SalesChannelInterface::CODE => 'test_2',
],
]],
],
'remove_sales_channels' => [[]],
];
}
Expand Down

0 comments on commit cb6eb12

Please sign in to comment.