Skip to content

Commit 21ced65

Browse files
committed
Fix callable stubs
1 parent e3ff503 commit 21ced65

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/bootstrap.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected function expectCallableNever()
4848

4949
protected function createCallableMock()
5050
{
51-
return $this->getMock('React\Tests\Socket\Stub\CallableStub');
51+
return $this->getMock('CallableStub');
5252
}
5353

5454
protected function createResolverMock()
@@ -58,3 +58,10 @@ protected function createResolverMock()
5858
->getMock();
5959
}
6060
}
61+
62+
class CallableStub
63+
{
64+
public function __invoke()
65+
{
66+
}
67+
}

0 commit comments

Comments
 (0)