private function createSalesChannels(): void
{ $names =
['Z', 'A', 'C', 'D', 'B', 'J', 'H', 'T', 'BE', 'BC'
];
$payment =
$this->
getValidPaymentMethodId();
$shipping =
$this->
getValidShippingMethodId();
$category =
$this->
getValidCategoryId();
$country =
$this->
getValidCountryId(null
);
$languages =
[ $this->
getLanguageIds($this->connection, 'de-DE'
)[0
],
Defaults::LANGUAGE_SYSTEM,
];
$insert =
[];
foreach ($names as $name) { $insert[] =
$this->
getSalesChannelFixture([ 'paymentMethodId' =>
$payment,
'shippingMethodId' =>
$shipping,
'navigationCategoryId' =>
$category,
'countryId' =>
$country,
'shippingMethods' =>
[['id' =>
$shipping]],