Exemplo n.º 1
0
 protected function setUp()
 {
     parent::setUp();
     if ($this->needHttpAuth()) {
         $this->request->setOptions(array('httpauthtype' => HTTP_AUTH_BASIC, 'httpauth' => $this->application->config->get('web')->username . ':' . $this->application->config->get('web')->password));
     }
 }
Exemplo n.º 2
0
 protected function tearDown()
 {
     unset($this->dispatcher);
     parent::tearDown();
 }