Skip to content

Commit 9945dc7

Browse files
committed
#14020-Cart-Sales-Rule-with-negated-condition-over-special-price-does
- fix unit test
1 parent 16f1eef commit 9945dc7

File tree

1 file changed

+0
-4
lines changed
  • app/code/Magento/ConfigurableProduct/Test/Unit/Plugin/SalesRule/Model/Rule/Condition

1 file changed

+0
-4
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Plugin/SalesRule/Model/Rule/Condition/ProductTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ public function testChildIsNotUsedForValidation()
219219
->method('getProduct')
220220
->willReturn($simpleProductMock);
221221

222-
$item->expects($this->once())
223-
->method('setProduct')
224-
->with($this->identicalTo($simpleProductMock));
225-
226222
$this->validator->setAttribute('special_price');
227223

228224
$this->validatorPlugin->beforeValidate($this->validator, $item);

0 commit comments

Comments
 (0)