File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
"require-dev" : {
27
27
"guzzlehttp/psr7" : " ^1.0" ,
28
28
"php-http/client-integration-tests" : " dev-master" ,
29
- "phpunit/phpunit" : " ^4.8.27 " ,
29
+ "phpunit/phpunit" : " ^7.0 " ,
30
30
"zendframework/zend-diactoros" : " ^1.0"
31
31
},
32
32
"autoload" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class PromiseCoreTest extends BaseUnitTestCase
21
21
*/
22
22
public function testHandleIsNotAResource ()
23
23
{
24
- $ this ->setExpectedException (
24
+ $ this ->expectException (
25
25
\InvalidArgumentException::class,
26
26
'Parameter $handle expected to be a cURL resource, NULL given '
27
27
);
@@ -38,7 +38,7 @@ public function testHandleIsNotAResource()
38
38
*/
39
39
public function testHandleIsNotACurlResource ()
40
40
{
41
- $ this ->setExpectedException (
41
+ $ this ->expectException (
42
42
\InvalidArgumentException::class,
43
43
'Parameter $handle expected to be a cURL resource, stream resource given '
44
44
);
You can’t perform that action at this time.
0 commit comments