Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Commit c7a5b7f

Browse files
committed
PHP 7.0 Again
1 parent 7d8ac72 commit c7a5b7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Request/AbstractRequestTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ public function testCurl(){
203203
$this->assertEquals(RequestStub::STATUS_INIT,$Stub->getCurlStatus());
204204
$Stub->close();
205205
$this->assertEquals(RequestStub::STATUS_CLOSED,$Stub->getCurlStatus());
206-
$this->assertNotEquals('curl',get_resource_type($CurlObject));
206+
if (strpos(PHP_VERSION,'7.0') === FALSE) {
207+
$this->assertNotEquals('curl', get_resource_type($CurlObject));
208+
}
207209
$Stub->start();
208210
$this->assertEquals(RequestStub::STATUS_INIT,$Stub->getCurlStatus());
209211
$this->assertNotEquals($CurlObject,$Stub->getCurlObject());

0 commit comments

Comments
 (0)