File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 12
12
use Magento \Framework \Exception \InputException ;
13
13
use Magento \Framework \Exception \NoSuchEntityException ;
14
14
use Magento \Framework \Model \ResourceModel \Db \AbstractDb ;
15
- use Magento \Framework \Phrase ;
16
15
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager ;
17
16
use Magento \Sales \Api \Data \ShipmentSearchResultInterfaceFactory ;
18
17
use Magento \Sales \Model \Order \Shipment ;
@@ -281,7 +280,6 @@ public function testSaveWithValidatorException()
281
280
true ,
282
281
['save ' ]
283
282
);
284
- $ phraseMock = $ this ->createMock (Phrase::class);
285
283
$ mapper ->expects ($ this ->once ())
286
284
->method ('save ' )
287
285
->willThrowException (new \Magento \Framework \Validator \Exception ());
You can’t perform that action at this time.
0 commit comments