File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
api-functional/testsuite/Magento/Quote/Api
integration/testsuite/Magento/Checkout/_files Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ public function testSetMyCouponSuccess()
265
265
$ cartId = $ quote ->getId ();
266
266
$ salesRule = $ this ->objectManager ->create ('Magento\SalesRule\Model\Rule ' );
267
267
$ salesRule ->load ('Test Coupon for General ' , 'name ' );
268
- $ couponCode = $ salesRule ->getPrimaryCoupon ()->getCode ();;
268
+ $ couponCode = $ salesRule ->getPrimaryCoupon ()->getCode ();
269
269
270
270
/* Since this isn't a full quote fixture, need to assign it to the right customer */
271
271
$ cartManagementService = $ this ->objectManager ->create (
Original file line number Diff line number Diff line change 14
14
15
15
$ salesRule = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create ('Magento\SalesRule\Model\Rule ' );
16
16
$ salesRule ->load ('Test Coupon ' , 'name ' );
17
- $ couponCode = $ salesRule ->getPrimaryCoupon ()->getCode ();;
17
+ $ couponCode = $ salesRule ->getPrimaryCoupon ()->getCode ();
18
18
19
19
$ quote ->setCouponCode (trim ($ couponCode ));
20
20
$ quote ->collectTotals ()->save ();
You can’t perform that action at this time.
0 commit comments