Skip to content

Commit

Permalink
MAGETWO-66666: Adding a product to cart from category page with an ex…
Browse files Browse the repository at this point in the history
…pired session does not allow product to be added

- Add unit test in case Expired session
  • Loading branch information
vital-pantsialeyeu committed Aug 11, 2018
1 parent eb61445 commit 7a95de1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Checkout\Test\Unit\Controller\Cart;

use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
Expand Down Expand Up @@ -35,7 +37,7 @@ class AddTest extends \PHPUnit\Framework\TestCase
private $messageManager;

/**
* @var \Magento\Checkout\Controller\Cart\Add | \PHPUnit_Framework_MockObject_MockObject
* @var \Magento\Checkout\Controller\Cart\Add|\PHPUnit_Framework_MockObject_MockObject
*/
private $cartAdd;

Expand Down

0 comments on commit 7a95de1

Please sign in to comment.