Navigation Menu

Skip to content

Commit

Permalink
Do not check for closure.
Browse files Browse the repository at this point in the history
Apparently that breaks tests on hhvm.
  • Loading branch information
denpamusic committed Dec 18, 2018
1 parent 65011b5 commit 3ce3cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ZeroMQTest.php
Expand Up @@ -54,7 +54,7 @@ public function testSubscribe()
$this->connection
->expects($this->once())
->method('subscribe')
->with(['hashblock'], $callback)
->with(['hashblock'])
->will($this->returnCallback(function ($event, $callback) use ($blockhash) {
$callback([
'hashblock',
Expand Down Expand Up @@ -85,7 +85,7 @@ public function testBrokenSequence()
$this->connection
->expects($this->once())
->method('subscribe')
->with(['hashblock'], $callback)
->with(['hashblock'])
->will($this->returnCallback(function ($event, $callback) {
// sequence number 1
$callback([
Expand Down

0 comments on commit 3ce3cd3

Please sign in to comment.