File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/integration/testsuite/Magento/Checkout/Controller/Cart/Index Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ class CouponPostTest extends \Magento\TestFramework\TestCase\AbstractController
14
14
/**
15
15
* Test for \Magento\Checkout\Controller\Cart\CouponPost::execute() with simple product
16
16
*
17
- * @magentoDataFixture Magento/Checkout/_files/quote_with_simple_product .php
17
+ * @magentoDataFixture Magento/Checkout/_files/quote_with_virtual_product_and_address .php
18
18
*/
19
19
public function testExecute ()
20
20
{
21
21
/** @var $session \Magento\Checkout\Model\Session */
22
22
$ session = $ this ->_objectManager ->create (\Magento \Checkout \Model \Session::class);
23
23
$ quote = $ session ->getQuote ();
24
- $ quote ->setData ('trigger_recollect ' , 1 )->setTotalsCollectedFlag (true )-> save () ;
24
+ $ quote ->setData ('trigger_recollect ' , 1 )->setTotalsCollectedFlag (true );
25
25
$ inputData = [
26
26
'remove ' => 0 ,
27
27
'coupon_code ' => 'test '
You can’t perform that action at this time.
0 commit comments