Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
createNavigationCategory example
->
getContainer
(
)
->
get
(
Connection::
class
)
;
$connection
->
rollBack
(
)
;
}
/** * @doesNotPerformAssertions */
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
(
)
;