You are here

public function TaxTypePluginTest::alter in Drupal Commerce Connector for AvaTax 8

Modifies existing service definitions.

Parameters

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

Overrides ServiceModifierInterface::alter

File

tests/src/Kernel/TaxTypePluginTest.php, line 139

Class

TaxTypePluginTest
Tests the tax type plugin.

Namespace

Drupal\Tests\commerce_avatax\Kernel

Code

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