Example #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);
 }
Example #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());
     }));
 }
Example #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');
 }
Example #5
0
 public function setUp()
 {
     parent::setUp();
     $this->scm = new Git($this->app);
 }