예제 #1
0
 public function setUp()
 {
     parent::setUp();
     $this->swapConfig(array('rocketeer::stages.stages' => array('staging', 'production'), 'rocketeer::hooks' => array(), 'rocketeer::connections' => array('production' => array('host' => 'foo.bar.com'))));
     $this->app['rocketeer.tasks']->registerConfiguredEvents();
     $this->notifier = new DummyNotifier($this->app);
     $this->app['rocketeer.tasks']->plugin($this->notifier);
 }
예제 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->app['path.rocketeer.logs'] = $this->server . '/logs';
     $this->swapConfig(array('rocketeer::logs' => function ($rocketeer) {
         return sprintf('%s-%s.log', $rocketeer->getConnection(), $rocketeer->getStage());
     }));
 }
예제 #3
0
 /**
  * Setup the tests
  */
 public function setUp()
 {
     parent::setUp();
     $this->igniter = new Igniter($this->app);
     unset($this->app['path.base']);
 }
 public function setUp()
 {
     parent::setUp();
     $this->tasks->plugin('Rocketeer\\Plugins\\Magento\\MagentoPlugin');
 }
예제 #5
0
파일: GitTest.php 프로젝트: denji/rocketeer
 public function setUp()
 {
     parent::setUp();
     $this->scm = new Git($this->app);
 }