Skip to content

Commit fbc22d2

Browse files
MAGETWO-94407: Cart Price Rule for configurable products
- Fix unit tests
1 parent db41fab commit fbc22d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ public function testQuoteLocaleFormatPrice($isValid, $conditionValue, $operator
298298
->method('getProduct')
299299
->willReturn($product);
300300

301-
$this->model->setAttribute('quote_item_price')
302-
->setOperator($operator);
301+
$this->model->setAttribute('quote_item_price');
302+
$this->model->setData('operator', $operator);
303303

304304
$this->assertEquals($isValid, $this->model->setValue($conditionValue)->validate($item));
305305
}

0 commit comments

Comments
 (0)