Skip to content

Commit

Permalink
Small code adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard13 committed Feb 12, 2019
1 parent 2fc33b4 commit 1a31aee
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

namespace Magento\Checkout\Controller\Cart\Index;

use Magento\Framework\App\Request\Http as HttpRequest;

/**
* @magentoDbIsolation enabled
*/
Expand Down Expand Up @@ -44,7 +46,7 @@ public function testExecute()
* @magentoDataFixture Magento/Usps/Fixtures/cart_rule_coupon_free_shipping.php
* @return void
*/
public function testAddingValidCoupon(): void
public function testAddingValidCoupon()
{
/** @var $session \Magento\Checkout\Model\Session */
$session = $this->_objectManager->create(\Magento\Checkout\Model\Session::class);
Expand All @@ -63,7 +65,7 @@ public function testAddingValidCoupon(): void
);

$this->assertSessionMessages(
$this->equalTo(['You used coupon code "' . $couponCode . '".']),
$this->equalTo(['You used coupon code "' . $couponCode . '".']),
\Magento\Framework\Message\MessageInterface::TYPE_SUCCESS
);
}
Expand Down

0 comments on commit 1a31aee

Please sign in to comment.