Skip to content

Commit de215e1

Browse files
committed
MAGETWO-59916: Problem arose when applying a coupon. ~QUANS~
1 parent 046663d commit de215e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Checkout/Controller/Cart/Index/CouponPostTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ class CouponPostTest extends \Magento\TestFramework\TestCase\AbstractController
1414
/**
1515
* Test for \Magento\Checkout\Controller\Cart\CouponPost::execute() with simple product
1616
*
17-
* @magentoDataFixture Magento/Checkout/_files/quote_with_simple_product.php
17+
* @magentoDataFixture Magento/Checkout/_files/quote_with_virtual_product_and_address.php
1818
*/
1919
public function testExecute()
2020
{
2121
/** @var $session \Magento\Checkout\Model\Session */
2222
$session = $this->_objectManager->create(\Magento\Checkout\Model\Session::class);
2323
$quote = $session->getQuote();
24-
$quote->setData('trigger_recollect', 1)->setTotalsCollectedFlag(true)->save();
24+
$quote->setData('trigger_recollect', 1)->setTotalsCollectedFlag(true);
2525
$inputData = [
2626
'remove' => 0,
2727
'coupon_code' => 'test'

0 commit comments

Comments
 (0)