Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Mar 25, 2023
1 parent 8a2df35 commit 38583ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -34,5 +34,8 @@
"psr-0": {
"": "tests"
}
},
"config": {
"allow-plugins": true
}
}
2 changes: 1 addition & 1 deletion tests/RequestHandlerTest.php
Expand Up @@ -23,7 +23,7 @@ public function testRequestThrowsErrorOnMalformedBaseUrl()

$options = array('some kinda option');

$this->expectException(\GuzzleHttp\Exception\ConnectException::class);
$this->expectException(\GuzzleHttp\Exception\TransferException::class);

$rh->request('GET', 'foo', $options);
}
Expand Down

0 comments on commit 38583ef

Please sign in to comment.