Skip to content

Commit 7c2245f

Browse files
committed
Merge pull request php-curl-class#100 from zachborboa/master
Remove alternate expected response for hhvm; Remove hhvm from allowed failures
2 parents bfef4a7 + ffaeafe commit 7c2245f

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ php:
77
- 5.6
88
- hhvm
99

10-
matrix:
11-
allow_failures:
12-
- php: hhvm
13-
1410
before_script:
1511
- bash tests/before_script.sh
1612

tests/PHPCurlClass/PHPCurlClassTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,7 @@ public function testErrorMessage()
460460
{
461461
$test = new Test();
462462
$test->server('error_message', 'GET');
463-
464-
$expected_response = 'HTTP/1.1 401 Unauthorized';
465-
if (defined('HHVM_VERSION')) {
466-
$expected_response = 'HTTP/1.1 401';
467-
}
468-
469-
$this->assertEquals($expected_response, $test->curl->error_message);
463+
$this->assertEquals('HTTP/1.1 401 Unauthorized', $test->curl->error_message);
470464
}
471465

472466
public function testHeaders()

0 commit comments

Comments
 (0)