Skip to content

Commit 3d54998

Browse files
committed
MAGETWO-59074: Creditmemo return to stock only one unit of configurable product
1 parent 5fb2352 commit 3d54998

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/SalesInventory/Test/Unit/Observer/RefundOrderInventoryObserverTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,12 @@ protected function setUp()
140140
]
141141
);
142142

143-
$this->objectManagerHelper->setBackwardCompatibleProperty($this->observer, 'orderRepository', $this->orderRepositoryMock);
144-
$this->objectManagerHelper->setBackwardCompatibleProperty($this->observer, 'returnProcessor', $this->returnProcessorMock);
143+
$this->objectManagerHelper->setBackwardCompatibleProperty(
144+
$this->observer, 'orderRepository', $this->orderRepositoryMock
145+
);
146+
$this->objectManagerHelper->setBackwardCompatibleProperty(
147+
$this->observer, 'returnProcessor', $this->returnProcessorMock
148+
);
145149
}
146150

147151
public function testRefundOrderInventory()

0 commit comments

Comments
 (0)