@@ -19,7 +19,7 @@ class DiscoveredClientsTest extends WebTestCase
19
19
{
20
20
public function testDiscoveredClient (): void
21
21
{
22
- $ container = $ this ->getContainer (false );
22
+ $ container = $ this ->getCustomContainer (false );
23
23
24
24
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
25
25
@@ -30,7 +30,7 @@ public function testDiscoveredClient(): void
30
30
31
31
public function testDiscoveredAsyncClient (): void
32
32
{
33
- $ container = $ this ->getContainer (false );
33
+ $ container = $ this ->getCustomContainer (false );
34
34
35
35
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
36
36
@@ -41,7 +41,7 @@ public function testDiscoveredAsyncClient(): void
41
41
42
42
public function testDiscoveredClientWithProfilingEnabled (): void
43
43
{
44
- $ container = $ this ->getContainer (true );
44
+ $ container = $ this ->getCustomContainer (true );
45
45
46
46
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
47
47
@@ -53,7 +53,7 @@ public function testDiscoveredClientWithProfilingEnabled(): void
53
53
54
54
public function testDiscoveredAsyncClientWithProfilingEnabled (): void
55
55
{
56
- $ container = $ this ->getContainer (true );
56
+ $ container = $ this ->getCustomContainer (true );
57
57
58
58
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
59
59
@@ -68,7 +68,7 @@ public function testDiscoveredAsyncClientWithProfilingEnabled(): void
68
68
*/
69
69
public function testDiscovery (): void
70
70
{
71
- $ container = $ this ->getContainer (true );
71
+ $ container = $ this ->getCustomContainer (true );
72
72
73
73
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
74
74
$ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -90,7 +90,7 @@ public function testDiscovery(): void
90
90
*/
91
91
public function testDisabledDiscovery (): void
92
92
{
93
- $ container = $ this ->getContainer (true , 'discovery_disabled ' );
93
+ $ container = $ this ->getCustomContainer (true , 'discovery_disabled ' );
94
94
95
95
$ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
96
96
$ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -106,7 +106,7 @@ public function testForcedDiscovery(): void
106
106
$ this ->markTestSkipped ('Guzzle7 adapter is not installed ' );
107
107
}
108
108
109
- $ container = $ this ->getContainer (true , 'discovery_forced ' );
109
+ $ container = $ this ->getCustomContainer (true , 'discovery_forced ' );
110
110
111
111
$ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
112
112
$ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -118,7 +118,7 @@ public function testForcedDiscovery(): void
118
118
$ this ->assertEquals ($ container ->get ('httplug.client.acme ' ), HttpAsyncClientDiscovery::find ());
119
119
}
120
120
121
- private function getContainer ($ debug , $ environment = 'test ' )
121
+ private function getCustomContainer ($ debug , $ environment = 'test ' )
122
122
{
123
123
static ::bootKernel (['debug ' => $ debug , 'environment ' => $ environment ]);
124
124
0 commit comments