Skip to content

Commit 54181ff

Browse files
authored
PHPUnit 6 compatability (#43)
* PHPUnit 6 compatability * Require latest (unreleased) version of the integration tests
1 parent 7150e44 commit 54181ff

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"require-dev": {
2323
"ext-curl": "*",
24-
"php-http/client-integration-tests": "^0.5.1"
24+
"php-http/client-integration-tests": "^0.6"
2525
},
2626
"provide": {
2727
"php-http/client-implementation": "1.0",

tests/PromiseExceptionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
use GuzzleHttp\Exception as GuzzleExceptions;
66
use Http\Adapter\Guzzle6\Promise;
7+
use PHPUnit\Framework\TestCase;
78

89
/**
910
* @author Tobias Nyholm <[email protected]>
1011
*/
11-
class PromiseExceptionTest extends \PHPUnit_Framework_TestCase
12+
class PromiseExceptionTest extends TestCase
1213
{
1314
public function testGetException()
1415
{

tests/PromiseTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
use GuzzleHttp\Promise\RejectedPromise;
66
use Http\Adapter\Guzzle6\Promise;
7+
use PHPUnit\Framework\TestCase;
78

89
/**
910
* @author Márk Sági-Kazár <[email protected]>
1011
*/
11-
class PromiseTest extends \PHPUnit_Framework_TestCase
12+
class PromiseTest extends TestCase
1213
{
1314
/**
1415
* @expectedException \Exception

0 commit comments

Comments
 (0)