public getSampleDataPackages ( |
||
$command | ||
Результат | array |
/** * @test that demo-data-packages actually exist */ public function demoDataPackages() { $application = $this->getApplication(); $application->add(new InstallCommand()); /** @var InstallCommand $command */ $command = $this->getApplication()->find('install'); $tester = new InstallCommandTester(); $packages = $tester->getMagentoPackages($command); $demoDataPackages = $tester->getSampleDataPackages($command); $this->assertSampleDataPackagesExist($packages, $demoDataPackages); }