From a1a3b73d9cde0c763b86626a6e8f3386acfd814c Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 26 Jul 2013 15:57:22 +0200 Subject: [PATCH] add some phpdoc --- core/lib/Thelia/Tests/Action/CartTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/lib/Thelia/Tests/Action/CartTest.php b/core/lib/Thelia/Tests/Action/CartTest.php index 274203d0f..4b9712efc 100644 --- a/core/lib/Thelia/Tests/Action/CartTest.php +++ b/core/lib/Thelia/Tests/Action/CartTest.php @@ -159,7 +159,9 @@ class CartTest extends \PHPUnit_Framework_TestCase } /** + * cart and customer already exists. Cart and customer are linked. * + * cart in session must be return */ public function testGetCartWithExistingCartAndCustomer() { @@ -195,6 +197,11 @@ class CartTest extends \PHPUnit_Framework_TestCase $this->assertEquals($customer->getId(), $getCart->getCustomerId()); } + /** + * Customer is connected but cart not associated to him + * + * A new cart must be created (duplicated) containing customer id + */ public function testGetCartWithExistinsCartAndCustomerButNotSameCustomerId() { $actionCart = $this->actionCart;