Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
createGermanSalesChannelDomain example
public
function
testIndexing
(
)
: array
{
$this
->
createNavigationCategory
(
)
;
$browser
=
$this
->
createCustomSalesChannelBrowser
(
[
'id' =>
$this
->ids->
create
(
'sales-channel'
)
,
'navigationCategoryId' =>
$this
->ids->
get
(
'category'
)
,
'languages' =>
[
[
'id' => Defaults::LANGUAGE_SYSTEM
]
,
[
'id' =>
$this
->
getDeDeLanguageId
(
)
]
]
,
]
)
;
$this
->
createGermanSalesChannelDomain
(
)
;
$this
->
setupProductsForImplementSearch
(
)
;
return
[
$browser
,
$this
->ids
]
;
}
/** * @depends testIndexing */
public
function
testFindingProductsByTerm
(
array
$services
)
: void
{
[