private Context
$context;
protected function setUp(): void
{ $this->connection =
$this->
getContainer()->
get(Connection::
class);
$this->appRepository =
$this->
getContainer()->
get('app.repository'
);
$this->context = Context::
createDefaultContext();
} public function testMigrationAddsDefaultValuesToMultipleModulesInOneApp(): void
{ $appId =
$this->
insertAppWithModule('testApp',
[ [ 'source' => 'http://testApp-module-1',
'label' =>
[ 'de-DE' => 'test',
'en-GB' => 'test',
],
],
[ 'source' => 'http://testApp-module-2',
'label' =>
[ 'de-DE' => 'test',