File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
dev/tests/integration/testsuite/Magento/Checkout/Controller/Cart/Index Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Checkout \Controller \Cart \Index ;
8
8
9
+ use Magento \Framework \App \Request \Http as HttpRequest ;
10
+
9
11
/**
10
12
* @magentoDbIsolation enabled
11
13
*/
@@ -44,7 +46,7 @@ public function testExecute()
44
46
* @magentoDataFixture Magento/Usps/Fixtures/cart_rule_coupon_free_shipping.php
45
47
* @return void
46
48
*/
47
- public function testAddingValidCoupon (): void
49
+ public function testAddingValidCoupon ()
48
50
{
49
51
/** @var $session \Magento\Checkout\Model\Session */
50
52
$ session = $ this ->_objectManager ->create (\Magento \Checkout \Model \Session::class);
@@ -63,7 +65,7 @@ public function testAddingValidCoupon(): void
63
65
);
64
66
65
67
$ this ->assertSessionMessages (
66
- $ this ->equalTo (['You used coupon code " ' . $ couponCode . '" . ' ]),
68
+ $ this ->equalTo (['You used coupon code " ' . $ couponCode . '" . ' ]),
67
69
\Magento \Framework \Message \MessageInterface::TYPE_SUCCESS
68
70
);
69
71
}
You can’t perform that action at this time.
0 commit comments