Using taxed cart total instead of untaxed price

This commit is contained in:
Franck Allimant
2014-07-30 16:57:58 +02:00
parent 24589a7142
commit 833cebb248
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ class MatchForTotalAmount extends ConditionAbstract
public function isMatching()
{
$condition1 = $this->conditionValidator->variableOpComparison(
$this->facade->getCartTotalPrice(),
$this->facade->getCartTotalTaxPrice(),
$this->operators[self::CART_TOTAL],
$this->values[self::CART_TOTAL]
);

View File

@@ -48,7 +48,7 @@ class MatchForTotalAmountTest extends \PHPUnit_Framework_TestCase
->getMock();
$stubFacade->expects($this->any())
->method('getCartTotalPrice')
->method('getCartTotalTaxPrice')
->will($this->returnValue($cartTotalPrice));
$stubFacade->expects($this->any())