File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Test/Unit/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,17 @@ public function markQuotesRecollectOnCatalogRules()
230230 return $ this ;
231231 }
232232
233+ /**
234+ * @param \Magento\Catalog\Model\Product $product
235+ * @return Quote
236+ * @deprecated
237+ * @see subtractProductFromQuotes
238+ */
239+ public function substractProductFromQuotes ($ product )
240+ {
241+ return $ this ->subtractProductFromQuotes ($ product );
242+ }
243+
233244 /**
234245 * Subtract product from all quotes quantities
235246 *
Original file line number Diff line number Diff line change @@ -19,14 +19,17 @@ class QuoteTest extends \PHPUnit_Framework_TestCase
1919 * @var Quote|\PHPUnit_Framework_MockObject_MockObject
2020 */
2121 private $ quoteMock ;
22+
2223 /**
2324 * @var Manager|\PHPUnit_Framework_MockObject_MockObject
2425 */
2526 private $ sequenceManagerMock ;
27+
2628 /**
2729 * @var SequenceInterface|\PHPUnit_Framework_MockObject_MockObject
2830 */
2931 private $ sequenceMock ;
32+
3033 /**
3134 * @var \Magento\Quote\Model\ResourceModel\Quote
3235 */
@@ -96,4 +99,4 @@ public function getReservedOrderIdDataProvider()
9699 [\Magento \Sales \Model \Order::ENTITY , 3 , '3000000001 ' ]
97100 ];
98101 }
99- }
102+ }
You can’t perform that action at this time.
0 commit comments