Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
48 | public function testClientModifiedOptions() |
||
49 | { |
||
50 | $client = GuzzleClient::createClient($this->io, ['allow_redirects' => true, 'handler' => new MockHandler()]); |
||
51 | $this->assertSame(true, $client->getConfig()['allow_redirects']); |
||
52 | $this->assertInstanceOf(MockHandler::class, $client->getConfig()['handler']); |
||
53 | } |
||
54 | } |
||
55 |