complete cart test

This commit is contained in:
Manuel Raynaud
2013-07-26 11:06:26 +02:00
parent 202d2dae99
commit fab90bade9
2 changed files with 42 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ class Cart implements EventSubscriberInterface
return $newCart;
}
public function generateCookie()
protected function generateCookie()
{
$id = uniqid('', true);
setcookie("thelia_cart", $id, uniqid('', true));