Skip to content

Commit 1208204

Browse files
author
Vladyslav Shcherbyna
committed
MAGETWO-44827: Add shipping email - fix test with factory
1 parent bb1d1f5 commit 1208204

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Shipping/Test/Unit/Model/Shipping/LabelGeneratorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ protected function setUp()
6262
$this->scopeConfig = $this->getMock('Magento\Framework\App\Config\ScopeConfigInterface');
6363
$this->trackFactory = $this->getMockBuilder('Magento\Sales\Model\Order\Shipment\TrackFactory')
6464
->disableOriginalConstructor()
65+
->setMethods(['create'])
6566
->getMock();
6667
$this->filesystem = $this->getMockBuilder('Magento\Framework\Filesystem')
6768
->disableOriginalConstructor()

0 commit comments

Comments
 (0)