diff --git a/setup/faker.php b/setup/faker.php index 4ae74a0e5..6843097b7 100644 --- a/setup/faker.php +++ b/setup/faker.php @@ -694,23 +694,23 @@ Sed facilisis pellentesque nisl, eu tincidunt erat scelerisque a. Nullam malesua $condition1 = new MatchForTotalAmount($adapter); $operators = array( - MatchForTotalAmount::INPUT1 => Operators::SUPERIOR, - MatchForTotalAmount::INPUT2 => Operators::EQUAL + MatchForTotalAmount::CART_TOTAL => Operators::SUPERIOR, + MatchForTotalAmount::CART_CURRENCY => Operators::EQUAL ); $values = array( - MatchForTotalAmount::INPUT1 => 40.00, - MatchForTotalAmount::INPUT2 => 'EUR' + MatchForTotalAmount::CART_TOTAL => 40.00, + MatchForTotalAmount::CART_CURRENCY => 'EUR' ); $condition1->setValidatorsFromForm($operators, $values); $condition2 = new MatchForTotalAmount($adapter); $operators = array( - MatchForTotalAmount::INPUT1 => Operators::INFERIOR, - MatchForTotalAmount::INPUT2 => Operators::EQUAL + MatchForTotalAmount::CART_TOTAL => Operators::INFERIOR, + MatchForTotalAmount::CART_CURRENCY => Operators::EQUAL ); $values = array( - MatchForTotalAmount::INPUT1 => 400.00, - MatchForTotalAmount::INPUT2 => 'EUR' + MatchForTotalAmount::CART_TOTAL => 400.00, + MatchForTotalAmount::CART_CURRENCY => 'EUR' ); $condition2->setValidatorsFromForm($operators, $values); @@ -754,10 +754,10 @@ Sed facilisis pellentesque nisl, eu tincidunt erat scelerisque a. Nullam malesua $condition1 = new MatchForXArticles($adapter); $operators = array( - MatchForXArticles::INPUT1 => Operators::SUPERIOR, + MatchForXArticles::CART_QUANTITY => Operators::SUPERIOR, ); $values = array( - MatchForXArticles::INPUT1 => 4, + MatchForXArticles::CART_QUANTITY => 4, ); $condition1->setValidatorsFromForm($operators, $values); $conditions = new ConditionCollection();