/** * @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()); }
/** * @covers Headzoo\Web\Tools\WebResponse::getHeaders */ public function testGetHeaders() { $this->assertEquals($this->values["headers"], $this->response->getHeaders()); }