Skip to content

Commit 5fdc7ef

Browse files
committed
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
1 parent 626bf5b commit 5fdc7ef

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"require-dev": {
1616
"clue/block-react": "^1.2",
17-
"phpunit/phpunit": "^5.0 || ^4.8"
17+
"phpunit/phpunit": "^5.7 || ^4.8.35"
1818
},
1919
"autoload": {
2020
"psr-4": {

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
use React\EventLoop\LoopInterface;
77
use Clue\React\Block;
88
use React\Promise\Promise;
9+
use PHPUnit\Framework\TestCase as BaseTestCase;
910

10-
class TestCase extends \PHPUnit_Framework_TestCase
11+
class TestCase extends BaseTestCase
1112
{
1213
protected function expectCallableExactly($amount)
1314
{

0 commit comments

Comments
 (0)