Skip to content

Commit 7d316ec

Browse files
committed
Code cleaning
1 parent bf77523 commit 7d316ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Fedex/Test/Unit/Plugin/Block/Tracking/PopupDeliveryDateTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Magento\Fedex\Test\Unit\Plugin\Block\Tracking;
88

9+
use Magento\Fedex\Model\Carrier;
910
use Magento\Fedex\Plugin\Block\Tracking\PopupDeliveryDate;
1011
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1112
use Magento\Shipping\Block\Tracking\Popup;
@@ -44,7 +45,7 @@ public function testAfterFormatDeliveryDateTimeWithFedexCarrier()
4445
->getMock();
4546
$trackingStatusMock->expects($this::once())
4647
->method('getCarrier')
47-
->willReturn(\Magento\Fedex\Model\Carrier::CODE);
48+
->willReturn(Carrier::CODE);
4849

4950
/** @var Popup|MockObject $subjectMock */
5051
$subjectMock = $this->getMockBuilder(Popup::class)

0 commit comments

Comments
 (0)