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 2626 "require-dev" : {
2727 "guzzlehttp/psr7" : " ^1.0" ,
2828 "php-http/client-integration-tests" : " dev-master" ,
29- "phpunit/phpunit" : " ^4.8.27 " ,
29+ "phpunit/phpunit" : " ^7.0 " ,
3030 "zendframework/zend-diactoros" : " ^1.0"
3131 },
3232 "autoload" : {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class PromiseCoreTest extends BaseUnitTestCase
2121 */
2222 public function testHandleIsNotAResource ()
2323 {
24- $ this ->setExpectedException (
24+ $ this ->expectException (
2525 \InvalidArgumentException::class,
2626 'Parameter $handle expected to be a cURL resource, NULL given '
2727 );
@@ -38,7 +38,7 @@ public function testHandleIsNotAResource()
3838 */
3939 public function testHandleIsNotACurlResource ()
4040 {
41- $ this ->setExpectedException (
41+ $ this ->expectException (
4242 \InvalidArgumentException::class,
4343 'Parameter $handle expected to be a cURL resource, stream resource given '
4444 );
You can’t perform that action at this time.
0 commit comments