Skip to content

Commit 7b5319c

Browse files
authored
Merge pull request #127 from clue-labs/eventloop
Fix forward compatibility with upcoming EventLoop releases in tests
2 parents 8a58745 + 82cd4d3 commit 7b5319c

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)