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 11language : php
22
33php :
4+ - 5.3.3
45 - 5.3
56 - 5.4
7+ - 5.5
68
79before_script :
8- - composer install --dev
10+ - composer install --dev --prefer-source
911
1012script :
1113 - phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -55,6 +55,17 @@ public function shouldAuthenticateUsingUrlToken()
5555 $ this ->assertInstanceOf ('Github\HttpClient\HttpClient ' , $ client ->getHttpClient ());
5656 }
5757
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+
5869 /**
5970 * @test
6071 */
You can’t perform that action at this time.
0 commit comments