예제 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->application->add(new JobCommand());
     // use old (alias) name of the job command to test BC
     $command = $this->application->find('syrup:run-job');
     $this->commandTester = new CommandTester($command);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->application->add(new AddDockerServerCommand());
     $this->doctrine = self::$kernel->getContainer()->get('doctrine');
     $this->client = new Client(['url' => STORAGE_API_URL, "token" => STORAGE_API_TOKEN]);
     $this->clearServers();
 }
예제 #3
0
 protected function setUp()
 {
     parent::setUp();
     $this->application->add(new JobCreateCommand());
     $this->application->add(new JobCommand());
 }