/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * */ protected function setUp() { parent::setUp(); $this->testedDao->setDaoOptions(['params' => ['baseUrl' => 'http://ci.vgnett.no']]); }
/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * */ protected function setUp() { parent::setUp(); $this->testedDao->getDataProvider()->setAdapter(new \Zend\Http\Client\Adapter\Test()); $this->testedDao->setDaoOptions(['params' => ['baseUrl' => 'http://ci.vgnett.no']]); }
/** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * */ protected function setUp() { parent::setUp(); $this->testedDao->getDataProvider()->setAdapter(new \Zend\Http\Client\Adapter\Test()); }