You are here

public function AcceptJsPaymentMethodTest::alter in Commerce Authorize.Net 8

Modifies existing service definitions.

Parameters

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

Overrides ServiceModifierInterface::alter

File

tests/src/Kernel/AcceptJsPaymentMethodTest.php, line 68

Class

AcceptJsPaymentMethodTest
Tests creating a payment method with AcceptJS.

Namespace

Drupal\Tests\commerce_authnet\Kernel

Code

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