Template Method that is called before the tests
of this test suite are run.
protected setUp ( ) |
public function setUp() { parent::setUp(); $this->sharedFixture = array(); foreach ($this->configKeys as $cfgKey) { $this->sharedFixture['config'][substr($cfgKey, 4)] = $GLOBALS[$cfgKey]; } }
protected function setUp() { parent::setUp(); }
protected function setUp() { parent::setUp(); jApp::pushCurrentModule($this->module); }
protected function setUp() { parent::setUp(); jContext::push($this->module); }
public function setUp() { \Amiss\Test\Helper\Env::instance()->connectionInfo = $this->connectionInfo; parent::setUp(); }
protected function setUp() { parent::setUp(); // load CakePHP fixture if (class_exists('CakeFixtureManager')) { $this->fixtureManager = $this->_getFixtureManager(); } foreach ($this->getIterator() as $test) { if ($test instanceof CakeTestCase) { $this->fixtureManager->fixturize($test); $test->fixtureManager = $this->fixtureManager; } } }