Skip to content

Commit da1c926

Browse files
committed
Revert "Working on static tests"
This reverts commit 3262758.
1 parent 3262758 commit da1c926

File tree

2 files changed

+6
-6
lines changed
  • app/code/Magento/Customer/view/frontend/templates/form
  • dev/tests/integration/testsuite/Magento/Customer/Controller

2 files changed

+6
-6
lines changed

app/code/Magento/Customer/view/frontend/templates/form/edit.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ use Magento\Customer\Block\Widget\Name;
4040
</div>
4141
<div class="field choice">
4242
<input type="checkbox" name="change_password" id="change-password" data-role="change-password" value="1"
43-
title="<?= $block->escapeHtmlAttr(__('Change Password')) ?>" class="checkbox"
44-
<?php if ($block->getChangePassword()): ?> checked="checked"<?php endif; ?> />
43+
title="<?= $block->escapeHtmlAttr(__('Change Password')) ?>"
44+
<?php if ($block->getChangePassword()): ?> checked="checked"<?php endif; ?> class="checkbox" />
4545
<label class="label" for="change-password">
4646
<span><?= $block->escapeHtml(__('Change Password')) ?></span>
4747
</label>

dev/tests/integration/testsuite/Magento/Customer/Controller/AccountTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ public function testEditAction()
511511
// Verify the password check box is not checked
512512
$expectedString = <<<EXPECTED_HTML
513513
<input type="checkbox" name="change_password" id="change-password" data-role="change-password" value="1"
514-
title="Change&#x20;Password" class="checkbox"
515-
/>
514+
title="Change&#x20;Password"
515+
class="checkbox" />
516516
EXPECTED_HTML;
517517
$this->assertContains($expectedString, $body);
518518
}
@@ -532,8 +532,8 @@ public function testChangePasswordEditAction()
532532
// Verify the password check box is checked
533533
$expectedString = <<<EXPECTED_HTML
534534
<input type="checkbox" name="change_password" id="change-password" data-role="change-password" value="1"
535-
title="Change&#x20;Password" class="checkbox"
536-
checked="checked" />
535+
title="Change&#x20;Password"
536+
checked="checked" class="checkbox" />
537537
EXPECTED_HTML;
538538
$this->assertContains($expectedString, $body);
539539
}

0 commit comments

Comments
 (0)