Skip to content

Commit 308340d

Browse files
author
Dmytro Voskoboinikov
committed
MAGETWO-41590: PR Prep and processing
1 parent 7cda701 commit 308340d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Quote/Api/CouponManagementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function testSetMyCouponSuccess()
265265
$cartId = $quote->getId();
266266
$salesRule = $this->objectManager->create('Magento\SalesRule\Model\Rule');
267267
$salesRule->load('Test Coupon for General', 'name');
268-
$couponCode = $salesRule->getPrimaryCoupon()->getCode();;
268+
$couponCode = $salesRule->getPrimaryCoupon()->getCode();
269269

270270
/* Since this isn't a full quote fixture, need to assign it to the right customer */
271271
$cartManagementService = $this->objectManager->create(

dev/tests/integration/testsuite/Magento/Checkout/_files/quote_with_coupon_saved.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
$salesRule = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create('Magento\SalesRule\Model\Rule');
1616
$salesRule->load('Test Coupon', 'name');
17-
$couponCode = $salesRule->getPrimaryCoupon()->getCode();;
17+
$couponCode = $salesRule->getPrimaryCoupon()->getCode();
1818

1919
$quote->setCouponCode(trim($couponCode));
2020
$quote->collectTotals()->save();

0 commit comments

Comments
 (0)