You are here

public function LudwigIntegrationTest::alter in Ludwig 8

Modifies existing service definitions.

Parameters

ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.

Overrides ServiceModifierInterface::alter

File

tests/src/Kernel/LudwigIntegrationTest.php, line 51

Class

LudwigIntegrationTest
Tests that the Downloader works.

Namespace

Drupal\Tests\ludwig\Kernel

Code

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