Remove alternate expected response for hhvm; Remove hhvm from allow_failures

This commit is contained in:
Zach Borboa
2014-12-10 22:41:25 -08:00
parent 247aa78822
commit ffaeafe12c
2 changed files with 1 additions and 11 deletions
-4
View File
@@ -7,10 +7,6 @@ php:
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- bash tests/before_script.sh
+1 -7
View File
@@ -460,13 +460,7 @@ class CurlTest extends PHPUnit_Framework_TestCase
{
$test = new Test();
$test->server('error_message', 'GET');
$expected_response = 'HTTP/1.1 401 Unauthorized';
if (defined('HHVM_VERSION')) {
$expected_response = 'HTTP/1.1 401';
}
$this->assertEquals($expected_response, $test->curl->error_message);
$this->assertEquals('HTTP/1.1 401 Unauthorized', $test->curl->error_message);
}
public function testHeaders()