Skip to content

Commit bcc19dc

Browse files
committed
Code cleaning
1 parent cdc0834 commit bcc19dc

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use PHPUnit\Framework\TestCase;
1818

1919
/**
20-
* Unit Test for @see \Magento\Fedex\Plugin\Block\Tracking\PopupDeliveryDate
20+
* Unit Test for \Magento\Fedex\Plugin\Block\Tracking\PopupDeliveryDate
2121
*/
2222
class PopupDeliveryDateTest extends TestCase
2323
{
@@ -63,9 +63,7 @@ public function testAfterFormatDeliveryDateTimeWithFedexCarrier()
6363
$this->trackingStatusMock->expects($this::once())
6464
->method('getCarrier')
6565
->willReturn(Carrier::CODE);
66-
67-
$this->subjectMock->expects($this->once())
68-
->method('formatDeliveryDate');
66+
$this->subjectMock->expects($this->once())->method('formatDeliveryDate');
6967

7068
$this->executeOriginalMethod();
7169
}
@@ -78,15 +76,13 @@ public function testAfterFormatDeliveryDateTimeWithOtherCarrier()
7876
$this->trackingStatusMock->expects($this::once())
7977
->method('getCarrier')
8078
->willReturn(self::STUB_CARRIER_CODE_NOT_FEDEX);
81-
82-
$this->subjectMock->expects($this->never())
83-
->method('formatDeliveryDate');
79+
$this->subjectMock->expects($this->never())->method('formatDeliveryDate');
8480

8581
$this->executeOriginalMethod();
8682
}
8783

8884
/**
89-
* Returns Mock for @see Status
85+
* Returns Mock for \Magento\Shipping\Model\Tracking\Result\Status
9086
*
9187
* @return MockObject
9288
*/
@@ -99,7 +95,7 @@ private function getStatusMock(): MockObject
9995
}
10096

10197
/**
102-
* Returns Mock for @see Popup
98+
* Returns Mock for \Magento\Shipping\Block\Tracking\Popup
10399
*
104100
* @return MockObject
105101
*/

0 commit comments

Comments
 (0)