Skip to content

Commit 16699f5

Browse files
author
Cari Spruiell
committed
MAGETWO-50202: [GitHub] Couldn't save shipment data #527
- fix integration test
1 parent aded675 commit 16699f5

File tree

1 file changed

+3
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Shipping/Helper

1 file changed

+3
-0
lines changed

dev/tests/integration/testsuite/Magento/Shipping/Helper/DataTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public function testGetTrackingPopupUrlBySalesModel($modelName, $getIdMethod, $e
4545
if ('Magento\Sales\Model\Order' == $modelName) {
4646
$model->setProtectCode($code);
4747
}
48+
if ('Magento\Sales\Model\Order\Shipment\Track' == $modelName) {
49+
$model->setParentId(1);
50+
}
4851

4952
$actual = $this->_helper->getTrackingPopupUrlBySalesModel($model);
5053
$this->assertEquals($expected, $actual);

0 commit comments

Comments
 (0)