} $this->
getContainer()->
get('sales_channel.repository'
) ->
create($insert, Context::
createDefaultContext());
} private function getSalesChannelFixture(array
$merge): array
{ $data =
[ 'id' => Uuid::
randomHex(),
'accessKey' => AccessKeyHelper::
generateAccessKey('sales-channel'
),
'typeId' => Defaults::SALES_CHANNEL_TYPE_API,
'languageId' => Defaults::LANGUAGE_SYSTEM,
'currencyId' => Defaults::CURRENCY,
'currencyVersionId' => Defaults::LIVE_VERSION,
'paymentMethodVersionId' => Defaults::LIVE_VERSION,
'shippingMethodVersionId' => Defaults::LIVE_VERSION,
'navigationCategoryVersionId' => Defaults::LIVE_VERSION,
'countryVersionId' => Defaults::LIVE_VERSION,
'currencies' =>
[['id' => Defaults::CURRENCY
]],
'languages' =>
[['id' => Defaults::LANGUAGE_SYSTEM
]],
'customerGroupId' => TestDefaults::FALLBACK_CUSTOMER_GROUP,
];