From 1e88df8a35f85e9e608c05bfd80fdd6862f2d689 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 18 Aug 2014 08:55:45 -0700 Subject: [PATCH] Remove hhvm cookie response workaround --- tests/PHPCurlClass/PHPCurlClassTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/PHPCurlClass/PHPCurlClassTest.php b/tests/PHPCurlClass/PHPCurlClassTest.php index 3c29706..1230b96 100644 --- a/tests/PHPCurlClass/PHPCurlClassTest.php +++ b/tests/PHPCurlClass/PHPCurlClassTest.php @@ -385,16 +385,9 @@ class CurlTest extends PHPUnit_Framework_TestCase public function testMultipleCookieResponse() { - $expected_response = 'cookie1=scrumptious,cookie2=mouthwatering'; - - // github.com/facebook/hhvm/issues/2345 - if (defined('HHVM_VERSION')) { - $expected_response = 'cookie2=mouthwatering,cookie1=scrumptious'; - } - $test = new Test(); $test->server('multiple_cookie', 'GET'); - $this->assertEquals($expected_response, $test->curl->response_headers['Set-Cookie']); + $this->assertEquals('cookie1=scrumptious,cookie2=mouthwatering', $test->curl->response_headers['Set-Cookie']); } public function testError()