Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setupProductsForImplementSearch example
$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
{
[
$browser
,
$ids
]
=
$services
;