EOL,
file_get_contents($this->appDir . '/TestApp/manifest.xml'
) );
static::
assertStringContainsString( 'App TestApp has been successfully installed.',
(string) preg_replace('/\s+/', ' ',
trim($commandTester->
getDisplay(true
))) );
static::
assertCount(1,
$this->appLifecycle->
getToBeInstalled());
static::
assertArrayHasKey(self::APP_NAME,
$this->appLifecycle->
getToBeInstalled());
} public function testAppIsInstalledIfRequestedViaOption(): void
{ $commandTester =
$this->
getCommandTester();
$commandTester->
execute(['name' => self::APP_NAME, '--install' => true
]);
static::
assertStringContainsString( 'Creating app structure under TestApp',
(string) preg_replace('/\s+/', ' ',
trim($commandTester->
getDisplay(true
))) );