Skip to content

Commit 0fe5217

Browse files
committed
ACP2E-2215: Order having downloadable & physical product, downloadable link is not available until physical product ships.
1 parent abcbaf9 commit 0fe5217

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Downloadable/Test/Unit/Observer/SaveDownloadableOrderItemObserverTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ public function testSaveDownloadableOrderItem()
180180
->method('getRealProductType')
181181
->willReturn(DownloadableProductType::TYPE_DOWNLOADABLE);
182182

183-
$this->orderMock->expects($this->once())
184-
->method('getStoreId')
183+
$this->orderMock->method('getStoreId')
185184
->willReturn(10500);
186185

187186
$product = $this->getMockBuilder(Product::class)

0 commit comments

Comments
 (0)