public function IPNHandlerTest::alter in Commerce PayPal 8
Modifies existing service definitions.
Parameters
ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.
Overrides ServiceModifierInterface::alter
File
- tests/
src/ Kernel/ IPNHandlerTest.php, line 76
Class
- IPNHandlerTest
- Tests the IPN handler.
Namespace
Drupal\Tests\commerce_paypal\KernelCode
public function alter(ContainerBuilder $container) {
$container
->removeDefinition('test.http_client.middleware');
}