/**
  * 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']]);
 }
Example #2
0
 /**
  * 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']]);
 }
Example #3
0
 /**
  * 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());
 }