public function cleanSnapshots() { $this->beginTransaction(); parent::cleanSnapshots(); $this->commit(); return $this; }
protected function _pdo() { return sfPhpunitFixtureDb::factory(Propel::getConnection($this->_getOption('connection'))); }
/** * (non-PHPdoc) * @see plugins/sfPhpunitPlugin/lib/fixture/sfPhpunitFixture::_pdo() */ protected function _pdo() { return sfPhpunitFixtureDb::factory(Doctrine_Manager::getInstance()->getCurrentConnection()->getDbh()); }