'id' => Uuid::
randomHex(),
'name' => 'test',
'path' => '',
'configurable' => false,
'allowDisable' => true,
],
],
];
$manifest = Manifest::
createFromXmlFile(__DIR__ . '/../_fixtures/manifest.xml'
);
$appRepository =
$this->
getAppRepositoryMock($appEntities);
$appLifecycle =
$this->
getAppLifecycle( $appRepository,
$languageRepository,
$this->
getAppAdministrationSnippetPersisterMock($appEntities[2
],
$this->
getSnippets()),
$this->
getAppLoaderMock($this->
getSnippets()) );
$appLifecycle->
install($manifest, false, Context::
createDefaultContext());
static::
assertCount(1,
$appRepository->upserts
[0
]);
static::
assertSame('test',
$appRepository->upserts
[0
][0
]['name'
]);
}