File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
+ - 5.3.3
4
5
- 5.3
5
6
- 5.4
7
+ - 5.5
6
8
7
9
before_script :
8
- - composer install --dev
10
+ - composer install --dev --prefer-source
9
11
10
12
script :
11
13
- phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -55,6 +55,17 @@ public function shouldAuthenticateUsingUrlToken()
55
55
$ this ->assertInstanceOf ('Github\HttpClient\HttpClient ' , $ client ->getHttpClient ());
56
56
}
57
57
58
+ /**
59
+ * @test
60
+ */
61
+ public function shouldAuthenticateUsingUrlClientId ()
62
+ {
63
+ $ client = new Client ();
64
+ $ client ->authenticate ('client_id ' , 'client_secret ' , Client::AUTH_URL_CLIENT_ID );
65
+
66
+ $ this ->assertInstanceOf ('Github\HttpClient\HttpClient ' , $ client ->getHttpClient ());
67
+ }
68
+
58
69
/**
59
70
* @test
60
71
*/
You can’t perform that action at this time.
0 commit comments