mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix phpunit
This commit is contained in:
parent
687b56d8c0
commit
056cb9fcc2
5 changed files with 81 additions and 25 deletions
|
@ -259,8 +259,10 @@ return array(
|
|||
},
|
||||
|
||||
'button.helper.three-d-secure' => static function ( ContainerInterface $container ): ThreeDSecure {
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
return new ThreeDSecure( $logger );
|
||||
return new ThreeDSecure(
|
||||
$container->get( 'api.factory.card-authentication-result' ),
|
||||
$container->get( 'woocommerce.logger.woocommerce' )
|
||||
);
|
||||
},
|
||||
'button.helper.messages-apply' => static function ( ContainerInterface $container ): MessagesApply {
|
||||
return new MessagesApply(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue