mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-03-15 22:45:13 +00:00
Adjusted calcualtion tests need specific discount tests
This commit is contained in:
@@ -480,7 +480,7 @@ class Cart
|
||||
}
|
||||
|
||||
$cartItem->setTaxRate(config('cart.tax'));
|
||||
$cartItem->setDiscountRate( $this->discount );
|
||||
$cartItem->setDiscountRate( $this->discount * 100 );
|
||||
|
||||
return $cartItem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user