Adding/Refactoring unit test for MatchForEveryoneManager|MatchForTotalAmountManager|MatchForXArticlesManager

This commit is contained in:
gmorel
2013-11-17 18:10:13 +01:00
parent 219ffdec99
commit ed1670a61b
2 changed files with 21 additions and 4 deletions

View File

@@ -155,10 +155,6 @@ class MatchForTotalAmountManager extends ConditionManagerAbstract
$this->availableOperators[self::INPUT2]
);
if (!$isOperator1Legit || !$isOperator2Legit) {
return false;
}
$condition1 = $this->conditionValidator->variableOpComparison(
$this->facade->getCartTotalPrice(),
$this->operators[self::INPUT1],