File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <phpunit backupGlobals =" false"
4- backupStaticAttributes =" false"
5- colors =" true"
6- convertErrorsToExceptions =" true"
7- convertNoticesToExceptions =" true"
8- convertWarningsToExceptions =" true"
9- processIsolation =" false"
10- stopOnFailure =" false"
11- bootstrap =" vendor/autoload.php"
12- >
3+ <phpunit bootstrap =" vendor/autoload.php" colors =" true" >
134 <testsuites >
145 <testsuite name =" React Test Suite" >
156 <directory >./tests/</directory >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected function expectCallableNever()
3939
4040 protected function createCallableMock ()
4141 {
42- return $ this ->getMockBuilder ('React\Tests\Dns\CallableStub ' )->getMock ();
42+ return $ this ->getMockBuilder ('stdClass ' )-> setMethods ( array ( ' __invoke ' ) )->getMock ();
4343 }
4444
4545 public function setExpectedException ($ exception , $ exceptionMessage = '' , $ exceptionCode = null )
You can’t perform that action at this time.
0 commit comments