Adding/Refactoring unit test

This commit is contained in:
gmorel
2013-11-17 19:59:29 +01:00
parent 274e667103
commit a2b97707cf
19 changed files with 1154 additions and 28 deletions

View File

@@ -146,15 +146,6 @@ class MatchForTotalAmountManager extends ConditionManagerAbstract
*/
public function isMatching()
{
$isOperator1Legit = $this->isOperatorLegit(
$this->operators[self::INPUT1],
$this->availableOperators[self::INPUT1]
);
$isOperator2Legit = $this->isOperatorLegit(
$this->operators[self::INPUT2],
$this->availableOperators[self::INPUT2]
);
$condition1 = $this->conditionValidator->variableOpComparison(
$this->facade->getCartTotalPrice(),
$this->operators[self::INPUT1],