Skip to content

Commit 9950562

Browse files
committed
ACP2E-3930: [QUANS] - Does Magento_Fedex core module check for a valid-active token before sending a request to get a new one?
1 parent 1cf67a8 commit 9950562

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

app/code/Magento/Fedex/Test/Unit/Model/CarrierTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ class CarrierTest extends TestCase
103103
*/
104104
private Json $serializer;
105105

106-
/**
107-
* @var LoggerInterface|MockObject
108-
*/
109-
private LoggerInterface $logger;
110-
111106
/**
112107
* @var CurrencyFactory|MockObject
113108
*/
@@ -195,7 +190,7 @@ protected function setUp(): void
195190
->disableOriginalConstructor()
196191
->getMock();
197192

198-
$this->logger = $this->getMockForAbstractClass(LoggerInterface::class);
193+
$logger = $this->getMockForAbstractClass(LoggerInterface::class);
199194

200195
$this->curlFactory = $this->getMockBuilder(CurlFactory::class)
201196
->disableOriginalConstructor()
@@ -221,7 +216,7 @@ protected function setUp(): void
221216
[
222217
'scopeConfig' => $this->scope,
223218
'rateErrorFactory' => $this->errorFactory,
224-
'logger' => $this->logger,
219+
'logger' => $logger,
225220
'xmlSecurity' => new Security(),
226221
'xmlElFactory' => $elementFactory,
227222
'rateFactory' => $rateFactory,

0 commit comments

Comments
 (0)