Skip to content

Commit 6751f0f

Browse files
committed
Run tests on phpUnit 9
1 parent cb8cf6e commit 6751f0f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require-dev": {
2222
"clue/hexdump": "0.2.*",
23-
"phpunit/phpunit": "^6.0 || ^5.7 || ^4.8.35"
23+
"phpunit/phpunit": "^9.0 ||^6.0 || ^5.7 || ^4.8.35"
2424
},
2525
"suggest": {
2626
"ext-sockets": "Requires PHP 5.4+ and the low level socket API for listening on multicast addresses (socket options to send IGMP announcements)"

tests/FunctionalTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ class FunctionalTest extends TestCase
99

1010
private $address = '224.224.244.244:2244';
1111

12-
public function setUp()
12+
/**
13+
* @before
14+
*/
15+
public function setUpMocks()
1316
{
1417
$this->loop = React\EventLoop\Factory::create();
1518
$this->factory = new Factory($this->loop);

0 commit comments

Comments
 (0)