File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ class PromiseExceptionTest extends \PHPUnit_Framework_TestCase
12
12
{
13
13
public function testGetException ()
14
14
{
15
- $ request = $ this ->getMock ('Psr\Http\Message\RequestInterface ' );
16
- $ response = $ this ->getMock ('Psr\Http\Message\ResponseInterface ' );
17
- $ promise = $ this ->getMock ('GuzzleHttp\Promise\PromiseInterface ' );
15
+ $ request = $ this ->getMockBuilder ('Psr\Http\Message\RequestInterface ' )-> getMock ( );
16
+ $ response = $ this ->getMockBuilder ('Psr\Http\Message\ResponseInterface ' )-> getMock ( );
17
+ $ promise = $ this ->getMockBuilder ('GuzzleHttp\Promise\PromiseInterface ' )-> getMock ( );
18
18
19
19
$ adapter = new Promise ($ promise , $ request );
20
20
$ method = new \ReflectionMethod ('Http\Adapter\Guzzle6\Promise ' , 'handleException ' );
You can’t perform that action at this time.
0 commit comments