You are here

public function ApigeeEdgeManagementCliServiceTest::alter in Apigee Edge 8

Fix for outbound HTTP requests fail with KernelTestBase.

See comment #10: https://www.drupal.org/project/drupal/issues/2571475#comment-11938008

Overrides ServiceModifierInterface::alter

File

tests/src/Kernel/Util/ApigeeEdgeManagementCliServiceTest.php, line 161

Class

ApigeeEdgeManagementCliServiceTest
ApigeeEdgeManagementCliService Edge tests.

Namespace

Drupal\Tests\apigee_edge\Kernel\Util

Code

public function alter(ContainerBuilder $container) {
  $container
    ->removeDefinition('test.http_client.middleware');
}