Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
assertDefaultHosts example
$this
->
assertDefaultActionButtons
(
)
;
$this
->
assertDefaultModules
(
$appEntity
)
;
$this
->
assertDefaultPrivileges
(
$appEntity
->
getAclRoleId
(
)
)
;
$this
->
assertDefaultCustomFields
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultWebhooks
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultTemplate
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultScript
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultPaymentMethods
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultCmsBlocks
(
$appEntity
->
getId
(
)
)
;
$this
->
assertAssetExists
(
$appEntity
->
getName
(
)
)
;
$this
->
assertFlowActionExists
(
$appEntity
->
getId
(
)
)
;
$this
->
assertDefaultHosts
(
$appEntity
)
;
}
public
function
testInstallRollbacksRegistrationFailure
(
)
: void
{
$manifest
= Manifest::
createFromXmlFile
(
__DIR__ . '/../Manifest/_fixtures/test/manifest.xml'
)
;
$this
->
appendNewResponse
(
new
Response
(
500
)
)
;
$wasThrown
= false;
try
{