mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
+1
-1
@@ -736,7 +736,7 @@ protected function addItem($id, $item)
|
|||||||
/**
|
/**
|
||||||
* save the cart
|
* save the cart
|
||||||
*
|
*
|
||||||
* @param $cart CartCollection
|
* @param $cart CartCollection
|
||||||
*/
|
*/
|
||||||
protected function save($cart)
|
protected function save($cart)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,11 +10,11 @@
|
|||||||
$events->shouldReceive('dispatch');
|
$events->shouldReceive('dispatch');
|
||||||
|
|
||||||
$this->cart = new Cart(
|
$this->cart = new Cart(
|
||||||
new SessionMock(),
|
new SessionMock,
|
||||||
$events,
|
$events,
|
||||||
'cart',
|
'cart',
|
||||||
'SAMPLESESSIONKEY',
|
'SAMPLESESSIONKEY',
|
||||||
require(__DIR__ . '/../Helpers/ConfigConditionsMock.php')
|
require (__DIR__ . '/../Helpers/ConfigConditionsMock.php')
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user