mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
✅ Update unit test to pass CI checks
This commit is contained in:
parent
1c4d17f0ea
commit
22e0143c55
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,7 @@ class CreditCardGatewayTest extends TestCase
|
|||
private $settingsRenderer;
|
||||
private $orderProcessor;
|
||||
private $config;
|
||||
private $creditCardIcons;
|
||||
private $moduleUrl;
|
||||
private $sessionHandler;
|
||||
private $refundProcessor;
|
||||
|
@ -52,6 +53,7 @@ class CreditCardGatewayTest extends TestCase
|
|||
$this->settingsRenderer = Mockery::mock(SettingsRenderer::class);
|
||||
$this->orderProcessor = Mockery::mock(OrderProcessor::class);
|
||||
$this->config = Mockery::mock(ContainerInterface::class);
|
||||
$this->creditCardIcons = [];
|
||||
$this->moduleUrl = '';
|
||||
$this->sessionHandler = Mockery::mock(SessionHandler::class);
|
||||
$this->refundProcessor = Mockery::mock(RefundProcessor::class);
|
||||
|
@ -78,6 +80,7 @@ class CreditCardGatewayTest extends TestCase
|
|||
$this->settingsRenderer,
|
||||
$this->orderProcessor,
|
||||
$this->config,
|
||||
$this->creditCardIcons,
|
||||
$this->moduleUrl,
|
||||
$this->sessionHandler,
|
||||
$this->refundProcessor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue