summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/GuzzleServiceProviderTest.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-12-01 22:10:10 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-12-08 02:20:51 +0100
commit064a1750279be244f86cf24f29749b391b11f1dd (patch)
treed0c30c3446d1d46cc9a179b6d20cf36967f38f32 /tests/Unit/Http/GuzzleServiceProviderTest.php
parent47e209e12594b935ba1670096ae4c55538ebde94 (diff)
Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error
Diffstat (limited to 'tests/Unit/Http/GuzzleServiceProviderTest.php')
-rw-r--r--tests/Unit/Http/GuzzleServiceProviderTest.php29
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);
- }
-}