diff options
Diffstat (limited to 'tests/Unit/Http/GuzzleServiceProviderTest.php')
| -rw-r--r-- | tests/Unit/Http/GuzzleServiceProviderTest.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/Unit/Http/GuzzleServiceProviderTest.php b/tests/Unit/Http/GuzzleServiceProviderTest.php deleted file mode 100644 index 4d3c938b..00000000 --- a/tests/Unit/Http/GuzzleServiceProviderTest.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -namespace Engelsystem\Test\Unit\Http; - -use Engelsystem\Application; -use Engelsystem\Http\GuzzleServiceProvider; -use Engelsystem\Test\Unit\ServiceProviderTest; -use GuzzleHttp\Client as GuzzleClient; - -class GuzzleServiceProviderTest extends ServiceProviderTest -{ - /** - * @covers \Engelsystem\Http\GuzzleServiceProvider::register - */ - public function testRegister() - { - $app = new Application(); - - $serviceProvider = new GuzzleServiceProvider($app); - $serviceProvider->register(); - - /** @var GuzzleClient $guzzle */ - $guzzle = $app->make(GuzzleClient::class); - $config = $guzzle->getConfig(); - - $this->assertFalse($config['http_errors']); - $this->assertArrayHasKey('timeout', $config); - } -} |
