mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-23 01:23:39 +01:00
Use more accurate assertion while checking for non-existent array's key
This commit is contained in:
parent
51cb9063b8
commit
7f82c29209
@ -286,7 +286,7 @@ class StreamHandlerTest extends TestCase
|
||||
'no' => ['*']
|
||||
]]);
|
||||
$opts = stream_context_get_options($res->getBody()->detach());
|
||||
$this->assertTrue(empty($opts['http']['proxy']));
|
||||
$this->assertArrayNotHasKey('proxy', $opts['http']);
|
||||
}
|
||||
|
||||
public function testAddsTimeout()
|
||||
|
Loading…
x
Reference in New Issue
Block a user