1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 10:03:27 +01:00

Update StreamHandlerTest.php

Incorrect assertion added
This commit is contained in:
Dale Attree 2015-10-27 14:45:27 +02:00
parent 52e099d3ec
commit 3937279ba1

View File

@ -245,7 +245,6 @@ class StreamHandlerTest extends \PHPUnit_Framework_TestCase
$res = $this->getSendResult(['verify' => $path]);
$opts = stream_context_get_options($res->getBody()->detach());
$this->assertEquals(true, $opts['ssl']['verify_peer']);
$this->assertEquals(true, $opts['ssl']['verify_peer_name']);
$this->assertEquals($path, $opts['ssl']['cafile']);
$this->assertTrue(file_exists($opts['ssl']['cafile']));
}