File tree 2 files changed +15
-1
lines changed
Test/Unit/Model/ResourceModel
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,17 @@ public function markQuotesRecollectOnCatalogRules()
230
230
return $ this ;
231
231
}
232
232
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
+
233
244
/**
234
245
* Subtract product from all quotes quantities
235
246
*
Original file line number Diff line number Diff line change @@ -19,14 +19,17 @@ class QuoteTest extends \PHPUnit_Framework_TestCase
19
19
* @var Quote|\PHPUnit_Framework_MockObject_MockObject
20
20
*/
21
21
private $ quoteMock ;
22
+
22
23
/**
23
24
* @var Manager|\PHPUnit_Framework_MockObject_MockObject
24
25
*/
25
26
private $ sequenceManagerMock ;
27
+
26
28
/**
27
29
* @var SequenceInterface|\PHPUnit_Framework_MockObject_MockObject
28
30
*/
29
31
private $ sequenceMock ;
32
+
30
33
/**
31
34
* @var \Magento\Quote\Model\ResourceModel\Quote
32
35
*/
@@ -96,4 +99,4 @@ public function getReservedOrderIdDataProvider()
96
99
[\Magento \Sales \Model \Order::ENTITY , 3 , '3000000001 ' ]
97
100
];
98
101
}
99
- }
102
+ }
You can’t perform that action at this time.
0 commit comments