static::
expectException(AppException::
class);
static::
expectExceptionMessage('App test is not compatible with this Shopware version'
);
$appLifecycle->
update($manifest,
['id' => 'test', 'roleId' => 'test'
], Context::
createDefaultContext());
} public function testInstallSavesSnippetsGiven(): void
{ $languageRepository =
new StaticEntityRepository([$this->
getLanguageCollection([ [ 'id' => Uuid::
randomHex(),
'locale' =>
$this->
getLocaleEntity(['code' => 'en-GB'
]),
],
])]);
$appEntities =
[ [],
[ [ 'id' => Uuid::
randomHex(),
'path' => '',
'configurable' => false,
'allowDisable' => true,
],