Adjusted calcualtion tests need specific discount tests

This commit is contained in:
Patrick Henninger
2018-12-21 15:52:00 +01:00
parent 48df3f5d74
commit 9e4c6c4a71
3 changed files with 34 additions and 19 deletions

View File

@@ -480,7 +480,7 @@ class Cart
}
$cartItem->setTaxRate(config('cart.tax'));
$cartItem->setDiscountRate( $this->discount );
$cartItem->setDiscountRate( $this->discount * 100 );
return $cartItem;
}