1
0
Fork 0

Fix stream context option test to really only verify content-type is last

pull/2333/head
Nils Adermann 2013-10-14 17:53:02 -07:00
parent 42dd2f2ee8
commit 565f86f30d
1 changed files with 1 additions and 1 deletions

View File

@ -192,6 +192,6 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
);
$context = StreamContextFactory::getContext('http://example.org', $options);
$ctxoptions = stream_context_get_options($context);
$this->assertEquals(join("\n", $ctxoptions['http']['header']), join("\n", $expectedOptions['http']['header']));
$this->assertEquals(end($ctxoptions['http']['header']), end($expectedOptions['http']['header']));
}
}