Update unit test to pass CI checks

This commit is contained in:
Philipp Stracker 2024-09-16 18:15:38 +02:00
parent 1c4d17f0ea
commit 22e0143c55
No known key found for this signature in database

View file

@ -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,