File tree Expand file tree Collapse file tree 4 files changed +2
-18
lines changed Expand file tree Collapse file tree 4 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ matrix:
16
16
- php : 7.3
17
17
- php : 7.4
18
18
- php : hhvm-3.18
19
- install : composer require phpunit/phpunit:^5 --dev --no-interaction # requires legacy phpunit
20
19
allow_failures :
21
20
- php : hhvm-3.18
22
21
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <phpunit bootstrap =" vendor/autoload.php"
4
- colors =" true"
5
- convertErrorsToExceptions =" true"
6
- convertNoticesToExceptions =" true"
7
- convertWarningsToExceptions =" true"
8
- >
3
+ <phpunit bootstrap =" vendor/autoload.php" colors =" true" >
9
4
<testsuites >
10
5
<testsuite name =" Promise Timer Test Suite" >
11
6
<directory >./tests/</directory >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ protected function expectCallableNever()
44
44
*/
45
45
protected function createCallableMock ()
46
46
{
47
- return $ this ->getMockBuilder ('React\Tests\Promise\Timer\CallableStub ' )->getMock ();
47
+ return $ this ->getMockBuilder ('stdClass ' )-> setMethods ( array ( ' __invoke ' ) )->getMock ();
48
48
}
49
49
50
50
protected function expectPromiseRejected ($ promise )
You can’t perform that action at this time.
0 commit comments