Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function testGetToken() |
||
16 | { |
||
17 | $authStrategy = new HttpBasicAuthStrategy( |
||
18 | [ |
||
19 | 'username' => 'username', |
||
20 | 'password' => 'password', |
||
21 | ] |
||
22 | ); |
||
23 | |||
24 | $this->assertEquals('username', $authStrategy->getGuzzleRequestOptions()['auth'][0]); |
||
25 | $this->assertEquals('password', $authStrategy->getGuzzleRequestOptions()['auth'][1]); |
||
26 | } |
||
27 | } |
||
28 |