fix test suite issue

This commit is contained in:
Manuel Raynaud
2013-08-13 09:34:08 +02:00
parent be5d1e9ddb
commit 7f83225645
6 changed files with 243 additions and 235 deletions

View File

@@ -31,9 +31,10 @@ class CartController extends BaseFrontController
public function addArticle()
{
$cart = $this->getCart($this->getRequest);
$request = $this->getRequest();
$cart = $this->getCart($request);
$cartEvent = new CartEvent($this->getRequest(), "action.addArticle", $cart);
$cartEvent = new CartEvent($request, "action.addArticle", $cart);
$this->dispatch("action.addArticle", $cartEvent);
}