mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 13:51:44 +00:00
feat: finish tests & docs
This commit is contained in:
@@ -1065,7 +1065,7 @@
|
||||
|
||||
expect($this->cart->getTotal())->toEqual(90, 'Cart should have total of 90');
|
||||
|
||||
$this->cart->clear();
|
||||
$this->cart->clearItems();
|
||||
|
||||
$this->cart->add([
|
||||
'id' => 1,
|
||||
@@ -1099,7 +1099,7 @@
|
||||
|
||||
expect($this->cart->getTotal())->toEqual(90, 'Cart should have total of 90');
|
||||
|
||||
$this->cart->clear();
|
||||
$this->cart->clearItems();
|
||||
|
||||
$this->cart->add([
|
||||
'id' => 1,
|
||||
@@ -1201,7 +1201,7 @@
|
||||
|
||||
expect($this->cart->getConditions(active: true))->toHaveCount(0, 'Cart should have 0 conditions');
|
||||
|
||||
$this->cart->clear();
|
||||
$this->cart->clearItems();
|
||||
|
||||
$this->cart->add([
|
||||
'id' => 1,
|
||||
|
||||
Reference in New Issue
Block a user