Example #1
0
 public function setUp()
 {
     parent::setUp();
     $this->command = $this->app->find('build');
     $initCommand = $this->app->find('init');
     $commandTester = new CommandTester($initCommand);
     $commandTester->execute(['command' => $initCommand->getName(), 'path' => $this->sitePath]);
 }
Example #2
0
 public function setUp()
 {
     parent::setUp();
     $this->command = $this->app->find('init');
 }