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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy