Skip to content

Commit 6b8029f

Browse files
committed
ACP2E-1650:Create Shipment API
- fixed static issues
1 parent 5d278cf commit 6b8029f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/ShipmentRepositoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Magento\Framework\Exception\InputException;
1313
use Magento\Framework\Exception\NoSuchEntityException;
1414
use Magento\Framework\Model\ResourceModel\Db\AbstractDb;
15-
use Magento\Framework\Phrase;
1615
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1716
use Magento\Sales\Api\Data\ShipmentSearchResultInterfaceFactory;
1817
use Magento\Sales\Model\Order\Shipment;
@@ -281,7 +280,6 @@ public function testSaveWithValidatorException()
281280
true,
282281
['save']
283282
);
284-
$phraseMock = $this->createMock(Phrase::class);
285283
$mapper->expects($this->once())
286284
->method('save')
287285
->willThrowException(new \Magento\Framework\Validator\Exception());

0 commit comments

Comments
 (0)