File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order/Shipment/Validation Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ public function testValidateTrackWithoutOrderId()
45
45
$ this ->shipmentMock ->expects ($ this ->once ())
46
46
->method ('getOrderId ' )
47
47
->willReturn (null );
48
- $ this ->assertEquals ([__ ('Order Id is required for shipment document ' )], $ this ->validator ->validate ($ this ->shipmentMock ));
48
+ $ this ->assertEquals (
49
+ [__ ('Order Id is required for shipment document ' )],
50
+ $ this ->validator ->validate ($ this ->shipmentMock )
51
+ );
49
52
}
50
53
51
54
public function testValidateTrackWithoutItems ()
@@ -56,6 +59,9 @@ public function testValidateTrackWithoutItems()
56
59
$ this ->shipmentMock ->expects ($ this ->once ())
57
60
->method ('getItems ' )
58
61
->willReturn (null );
59
- $ this ->assertEquals ([__ ('You can \'t create a shipment without products. ' )], $ this ->validator ->validate ($ this ->shipmentMock ));
62
+ $ this ->assertEquals (
63
+ [__ ('You can \'t create a shipment without products. ' )],
64
+ $ this ->validator ->validate ($ this ->shipmentMock )
65
+ );
60
66
}
61
67
}
You can’t perform that action at this time.
0 commit comments