public function setUp(Zend_Db_Adapter_Abstract $db) { $this->_setUpDatabase(); parent::setUp($db); $this->createSequence('zfbugs_seq'); $this->createSequence('zfproducts_seq'); $zfbugs_seq = $this->_db->quoteIdentifier('zfbugs_seq'); $zfproducts_seq = $this->_db->quoteIdentifier('zfproducts_seq'); $this->_rawQuery("SET GENERATOR {$zfbugs_seq} TO 4"); $this->_rawQuery("SET GENERATOR {$zfproducts_seq} TO 3"); }
public function setUp(Zend_Db_Adapter_Abstract $db) { parent::setUp($db); $this->_createTestProcedure(); }
public function setUp(Zend_Db_Adapter_Abstract $db) { $this->setAdapter($db); $this->createSequence('zfproducts_seq'); parent::setUp($db); }
/** * Subclasses should call parent::setUp() before * doing their own logic, e.g. creating metadata. */ public function setUp() { $this->_setUpTestUtil(); $this->_setUpAdapter(); $this->_util->setUp($this->_db); }
public function setUp(\Zend\DB\Adapter\AbstractAdapter $db) { $this->setAdapter($db); $this->createSequence('zfproducts_seq'); parent::setUp($db); }