Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"require-dev": {
"guzzlehttp/psr7": "^1.0",
"php-http/client-integration-tests": "dev-master",
"phpunit/phpunit": "^4.8.27",
"phpunit/phpunit": "^7.0",
"zendframework/zend-diactoros": "^1.0"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions tests/PromiseCoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class PromiseCoreTest extends BaseUnitTestCase
*/
public function testHandleIsNotAResource()
{
$this->setExpectedException(
$this->expectException(
\InvalidArgumentException::class,
'Parameter $handle expected to be a cURL resource, NULL given'
);
Expand All @@ -38,7 +38,7 @@ public function testHandleIsNotAResource()
*/
public function testHandleIsNotACurlResource()
{
$this->setExpectedException(
$this->expectException(
\InvalidArgumentException::class,
'Parameter $handle expected to be a cURL resource, stream resource given'
);
Expand Down