mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
Remove alternate expected response for hhvm; Remove hhvm from allow_failures
This commit is contained in:
@@ -7,10 +7,6 @@ php:
|
||||
- 5.6
|
||||
- hhvm
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
|
||||
before_script:
|
||||
- bash tests/before_script.sh
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user