public function setup() { parent::setup(); $this->controller = $this->generate('Posts', ['components' => ['Paginator', 'Session'], 'models' => ['Post' => ['save']], 'methods' => ['redirect']]); $this->controller->autoRender = false; }
/** Setup function will set test config properties in the Zend_Registry. */ public function setup() { parent::setup(); $testConfigProps = $this->setupAndGetConfig(); Zend_Registry::set('batchmake_test_config', $testConfigProps); }
public function setUp() { parent::setup(); $this->db = Zend_Registry::get('db'); $this->projectMapper = new C3op_Projects_ProjectMapper($this->db); }