/** * */ public function setUp() { $this->envPath = '/tmp/deploynaut_test/envs'; Config::inst()->update('Injector', 'DNData', array('constructor' => array(0 => $this->envPath, 1 => '/tmp/deploynaut_test/gitkeys', 2 => Director::baseFolder() . '/assets/transfers'))); parent::setUp(); $this->project = new DNProject(); $this->project->Name = 'testproject'; $this->project->write(); $this->env = new DNEnvironment(); $this->env->Name = 'uat'; $this->env->ProjectID = $this->project->ID; $this->env->write(); }