diff --git a/tests/Handler/StreamHandlerTest.php b/tests/Handler/StreamHandlerTest.php index 495cd95f..6c10ec3f 100644 --- a/tests/Handler/StreamHandlerTest.php +++ b/tests/Handler/StreamHandlerTest.php @@ -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()