Skip to content

Commit bb764a8

Browse files
committed
CE#34569: Fix failed mftf test
1 parent 33f253d commit bb764a8

File tree

1 file changed

+4
-6
lines changed
  • app/code/Magento/Checkout/view/frontend/templates/cart

1 file changed

+4
-6
lines changed

app/code/Magento/Checkout/view/frontend/templates/cart/coupon.phtml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
// phpcs:disable Generic.Files.LineLength.TooLong
8+
79
/**
810
* @var \Magento\Framework\View\Element\AbstractBlock $block
911
*/
@@ -13,13 +15,9 @@ $hasCouponCode = $block->getCouponCode() !== null && strlen($block->getCouponCod
1315
?>
1416
<div class="block discount"
1517
id="block-discount"
16-
data-mage-init='{"collapsible":{"active": <?= $hasCouponCode ? 'true' : 'false' ?>,
17-
"openedState": "active", "saveState": false}}'
18-
>
18+
data-mage-init='{"collapsible":{"active": <?= $hasCouponCode ? 'true' : 'false' ?>, "openedState": "active", "saveState": false}}'>
1919
<div class="title" data-role="title">
20-
<strong id="block-discount-heading" role="heading" aria-level="2">
21-
<?= $block->escapeHtml(__('Apply Discount Code')) ?>
22-
</strong>
20+
<strong id="block-discount-heading" role="heading" aria-level="2"><?= $block->escapeHtml(__('Apply Discount Code')) ?></strong>
2321
</div>
2422
<div class="content" data-role="content" aria-labelledby="block-discount-heading">
2523
<form id="discount-coupon-form"

0 commit comments

Comments
 (0)