We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9496da6 commit efb8121Copy full SHA for efb8121
test/Bitbucket/Tests/API/ApiTest.php
@@ -15,22 +15,6 @@ public function testCredentials()
15
$api->setCredentials($auth);
16
}
17
18
- public function testAuthorize()
19
- {
20
- $request = new \Buzz\Message\Request;
21
- $auth = new API\Authentication\Basic('api_username', 'api_password');
22
- $api = new API\Api;
23
-
24
- $api->setCredentials($auth);
25
26
- // add authorization header
27
- $api->authorize($request);
28
29
- // check if authorization header is set
30
- $header = $request->getHeader('Authorization');
31
- $this->assertNotNull($header);
32
- }
33
34
public function testShouldDoGetRequest()
35
{
36
$endpoint = 'repositories/gentle/eof/issues/3';
0 commit comments