@@ -19,7 +19,7 @@ class DiscoveredClientsTest extends WebTestCase
1919{
2020 public function testDiscoveredClient (): void
2121 {
22- $ container = $ this ->getContainer (false );
22+ $ container = $ this ->getCustomContainer (false );
2323
2424 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
2525
@@ -30,7 +30,7 @@ public function testDiscoveredClient(): void
3030
3131 public function testDiscoveredAsyncClient (): void
3232 {
33- $ container = $ this ->getContainer (false );
33+ $ container = $ this ->getCustomContainer (false );
3434
3535 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
3636
@@ -41,7 +41,7 @@ public function testDiscoveredAsyncClient(): void
4141
4242 public function testDiscoveredClientWithProfilingEnabled (): void
4343 {
44- $ container = $ this ->getContainer (true );
44+ $ container = $ this ->getCustomContainer (true );
4545
4646 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
4747
@@ -53,7 +53,7 @@ public function testDiscoveredClientWithProfilingEnabled(): void
5353
5454 public function testDiscoveredAsyncClientWithProfilingEnabled (): void
5555 {
56- $ container = $ this ->getContainer (true );
56+ $ container = $ this ->getCustomContainer (true );
5757
5858 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
5959
@@ -68,7 +68,7 @@ public function testDiscoveredAsyncClientWithProfilingEnabled(): void
6868 */
6969 public function testDiscovery (): void
7070 {
71- $ container = $ this ->getContainer (true );
71+ $ container = $ this ->getCustomContainer (true );
7272
7373 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
7474 $ this ->assertTrue ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -90,7 +90,7 @@ public function testDiscovery(): void
9090 */
9191 public function testDisabledDiscovery (): void
9292 {
93- $ container = $ this ->getContainer (true , 'discovery_disabled ' );
93+ $ container = $ this ->getCustomContainer (true , 'discovery_disabled ' );
9494
9595 $ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
9696 $ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -106,7 +106,7 @@ public function testForcedDiscovery(): void
106106 $ this ->markTestSkipped ('Guzzle7 adapter is not installed ' );
107107 }
108108
109- $ container = $ this ->getContainer (true , 'discovery_forced ' );
109+ $ container = $ this ->getCustomContainer (true , 'discovery_forced ' );
110110
111111 $ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_client ' ));
112112 $ this ->assertFalse ($ container ->has ('httplug.auto_discovery.auto_discovered_async ' ));
@@ -118,7 +118,7 @@ public function testForcedDiscovery(): void
118118 $ this ->assertEquals ($ container ->get ('httplug.client.acme ' ), HttpAsyncClientDiscovery::find ());
119119 }
120120
121- private function getContainer ($ debug , $ environment = 'test ' )
121+ private function getCustomContainer ($ debug , $ environment = 'test ' )
122122 {
123123 static ::bootKernel (['debug ' => $ debug , 'environment ' => $ environment ]);
124124
0 commit comments