diff --git a/composer.json b/composer.json index 5512669..4c90f45 100644 --- a/composer.json +++ b/composer.json @@ -34,5 +34,8 @@ "psr-0": { "": "tests" } + }, + "config": { + "allow-plugins": true } } diff --git a/tests/RequestHandlerTest.php b/tests/RequestHandlerTest.php index 5c8b0ed..6ff6674 100644 --- a/tests/RequestHandlerTest.php +++ b/tests/RequestHandlerTest.php @@ -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); }