Skip to content

Commit 575816a

Browse files
committed
Run tests on PHPUnit 9
1 parent 7a6f5f9 commit 575816a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

tests/AssocDecoderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ class AssocDecoderTest extends TestCase
1010
private $input;
1111
private $decoder;
1212

13-
public function setUp()
13+
/**
14+
* @before
15+
*/
16+
public function setUpDecoder()
1417
{
1518
$stream = fopen('php://temp', 'r');
1619
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

tests/DecoderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ class DecoderTest extends TestCase
1010
private $input;
1111
private $decoder;
1212

13-
public function setUp()
13+
/**
14+
* @before
15+
*/
16+
public function setUpDecoder()
1417
{
1518
$stream = fopen('php://temp', 'r');
1619
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

tests/EncoderTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ class EncoderTest extends TestCase
1010
private $output;
1111
private $encoder;
1212

13-
public function setUp()
13+
/**
14+
* @before
15+
*/
16+
public function setUpEncoder()
1417
{
1518
$stream = fopen('php://temp', 'r+');
1619
$loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();

0 commit comments

Comments
 (0)