8000 Merge pull request #68 from martinschroeder/mocking · reactphp/event-loop@c3653ae · GitHub
[go: up one dir, main page]

Skip to content

Commit c3653ae

Browse files
authored
Merge pull request #68 from martinschroeder/mocking
Avoid deprecation warnings in test suite due to deprecation of getMock() in PHPUnit
2 parents e515aaa + 680f267 commit c3653ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ protected function expectCallableNever()
3636

3737
protected function createCallableMock()
3838
{
39-
return $this->getMock('React\Tests\EventLoop\CallableStub');
39+
return $this->getMockBuilder('React\Tests\EventLoop\CallableStub')->getMock();
4040
}
4141
}

0 commit comments

Comments
 (0)
0