mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 07:31:31 +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