Skip to content

Commit 1e88df8

Browse files
committed
Remove hhvm cookie response workaround
1 parent ddc7585 commit 1e88df8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/PHPCurlClass/PHPCurlClassTest.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,9 @@ public function testCookieJar()
385385

386386
public function testMultipleCookieResponse()
387387
{
388-
$expected_response = 'cookie1=scrumptious,cookie2=mouthwatering';
389-
390-
// github.com/facebook/hhvm/issues/2345
391-
if (defined('HHVM_VERSION')) {
392-
$expected_response = 'cookie2=mouthwatering,cookie1=scrumptious';
393-
}
394-
395388
$test = new Test();
396389
$test->server('multiple_cookie', 'GET');
397-
$this->assertEquals($expected_response, $test->curl->response_headers['Set-Cookie']);
390+
$this->assertEquals('cookie1=scrumptious,cookie2=mouthwatering', $test->curl->response_headers['Set-Cookie']);
398391
}
399392

400393
public function testError()

0 commit comments

Comments
 (0)