public function setUp() { $this->markTestNeedsTestConfig(); $this->markTestNeedsDatabase(); $config = $this->getTestConfig(); $config->cache->frontend->enable = TRUE; $config->cache->query->enable = TRUE; $this->_cacheBackend = Erfurt_App::getInstance(false)->getQueryCache()->getBackend(); parent::setUp(); }
public function setUp() { $this->markTestNeedsDatabase(); $this->_store = $this->getStore(); $this->authenticateDbUser(); //create model $model = $this->_store->getNewModel($this->_modelUri, '', Erfurt_Store::MODEL_TYPE_OWL, false); $this->_instances = new OntoWiki_Model_Instances($this->_store, new Erfurt_Rdf_Model($this->_modelUri, null, $this->_store)); $this->addTestData(); parent::setUp(); }
public function setUp() { $this->markTestNeedsTestConfig(); $this->markTestNeedsDatabase(); $this->_erfurtApp = Erfurt_App::getInstance(); $this->_store = $this->_erfurtApp->getStore(); $this->authenticateDbUser(); $this->_modelUri = 'http://example.org/graph123/'; $this->_addTestData(); parent::setUp(); }
public function setUp() { $this->_fileBase = realpath(dirname(__FILE__)) . '/_files/'; parent::setUp(); }