protected function setUp() { Propel::init(dirname(__FILE__) . '/../../../../Fixtures/bookstore/build/conf/bookstore-conf.php'); parent::setUp(); $this->savedAdapter = Propel::getDB(null); Propel::setDB(null, new DBSQLite()); }
protected function setUp() { Propel::init(dirname(__FILE__) . '/../../../../Fixtures/bookstore/build/conf/bookstore-conf.php'); parent::setUp(); $this->savedAdapter = Propel::getServiceContainer()->getAdapter(null); Propel::getServiceContainer()->setAdapter(null, new SqliteAdapter()); }
protected function setUp() { Propel::init(__DIR__ . '/../../../../Fixtures/bookstore/build/conf/bookstore-conf.php'); parent::setUp(); $this->c = new Criteria(); $this->savedAdapter = Propel::getDB(null); Propel::setDB(null, new DBSQLite()); }
protected function setUp() { Propel::init(__DIR__ . '/../../../../Fixtures/bookstore/build/conf/bookstore-conf.php'); parent::setUp(); $this->c = new Criteria(); $defaultDatasource = Propel::getServiceContainer()->getDefaultDatasource(); $this->savedAdapter = Propel::getServiceContainer()->getAdapter($defaultDatasource); Propel::getServiceContainer()->setAdapter($defaultDatasource, new SqliteAdapter()); }