Skip to content

Commit 82cd4d3

Browse files
committed
Fix forward compatibility with upcoming EventLoop releases in tests
1 parent 3c699b9 commit 82cd4d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/TcpServerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function testDataEventWillNotBeEmittedWhenClientSendsNoData()
6666
$this->server->on('connection', function ($conn) use ($mock) {
6767
$conn->on('data', $mock);
6868
});
69-
$this->loop->tick();
70-
$this->loop->tick();
69+
$this->tick();
70+
$this->tick();
7171
}
7272

7373
public function testDataWillBeEmittedWithDataClientSends()

0 commit comments

Comments
 (0)