You are here

public function SpambotUserspamTest::alter in Spambot 8

Modifies existing service definitions.

Parameters

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

Overrides ServiceModifierInterface::alter

File

tests/src/Kernel/SpambotUserspamTest.php, line 72

Class

SpambotUserspamTest
Test spambot report account.

Namespace

Drupal\Tests\spambot\Kernel

Code

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