Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
storefontSalesChannelCriteria example
static
::
assertTrue
(
$result
->
isFinish
(
)
)
;
}
/** * NEXT-21735 * * @group not-deterministic */
public
function
testWriteWithMulitpleSchemesAndSameLanguage
(
)
: void
{
$salesChannel
=
$this
->salesChannelRepository->
search
(
$this
->
storefontSalesChannelCriteria
(
[
$this
->context->
getSalesChannelId
(
)
]
)
,
$this
->context->
getContext
(
)
)
->
first
(
)
;
$domain
=
$salesChannel
->
getDomains
(
)
->
first
(
)
;
$this
->salesChannelRepository->
update
(
[
[
'id' =>
$this
->context->
getSalesChannelId
(
)
,
'domains' =>
[
[
'id' => Uuid::
randomHex
(
)
,