From 22e0143c5560177ed165d1664cb1a1ee72b810e8 Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Mon, 16 Sep 2024 18:15:38 +0200
Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Update=20unit=20test=20to=20pass=20?=
=?UTF-8?q?CI=20checks?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
tests/PHPUnit/WcGateway/Gateway/CreditCardGatewayTest.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/PHPUnit/WcGateway/Gateway/CreditCardGatewayTest.php b/tests/PHPUnit/WcGateway/Gateway/CreditCardGatewayTest.php
index 60b86a643..8a3528b11 100644
--- a/tests/PHPUnit/WcGateway/Gateway/CreditCardGatewayTest.php
+++ b/tests/PHPUnit/WcGateway/Gateway/CreditCardGatewayTest.php
@@ -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,