Skip to content

Commit 1a31aee

Browse files
committed
Small code adjustments
1 parent 2fc33b4 commit 1a31aee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
namespace Magento\Checkout\Controller\Cart\Index;
88

9+
use Magento\Framework\App\Request\Http as HttpRequest;
10+
911
/**
1012
* @magentoDbIsolation enabled
1113
*/
@@ -44,7 +46,7 @@ public function testExecute()
4446
* @magentoDataFixture Magento/Usps/Fixtures/cart_rule_coupon_free_shipping.php
4547
* @return void
4648
*/
47-
public function testAddingValidCoupon(): void
49+
public function testAddingValidCoupon()
4850
{
4951
/** @var $session \Magento\Checkout\Model\Session */
5052
$session = $this->_objectManager->create(\Magento\Checkout\Model\Session::class);
@@ -63,7 +65,7 @@ public function testAddingValidCoupon(): void
6365
);
6466

6567
$this->assertSessionMessages(
66-
$this->equalTo(['You used coupon code "' . $couponCode . '".']),
68+
$this->equalTo(['You used coupon code "' . $couponCode . '".']),
6769
\Magento\Framework\Message\MessageInterface::TYPE_SUCCESS
6870
);
6971
}

0 commit comments

Comments
 (0)