Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
checkNonExistingComponent example
protected
static
$themes
=
[
'sdc_theme_test'
]
;
/** * Test that components render correctly. */
public
function
testRender
(
)
: void
{
$this
->
checkIncludeDefaultContent
(
)
;
$this
->
checkIncludeDataMapping
(
)
;
$this
->
checkEmbedWithNested
(
)
;
$this
->
checkPropValidation
(
)
;
$this
->
checkArrayObjectTypeCast
(
)
;
$this
->
checkNonExistingComponent
(
)
;
$this
->
checkLibraryOverrides
(
)
;
$this
->
checkAttributeMerging
(
)
;
$this
->
checkRenderElementAlters
(
)
;
$this
->
checkInvalidSlot
(
)
;
}
/** * Check using a component with an include and default context. */
protected
function
checkIncludeDefaultContent
(
)
: void
{
$build
=
[