Exemplo n.º 1
0
 /**
  * @covers Headzoo\Web\Tools\WebClient::request
  */
 public function testRequest_Get_Auth()
 {
     $this->markTestSkipped();
     $this->web->setBasicAuth("test_user", "test_pass");
     $this->request();
     $this->assertArrayHasKey("Authorization", $this->response->getHeaders());
 }
Exemplo n.º 2
0
 /**
  * @covers Headzoo\Web\Tools\WebResponse::getHeaders
  */
 public function testGetHeaders()
 {
     $this->assertEquals($this->values["headers"], $this->response->getHeaders());
 }