File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
app/code/Magento/Customer/view/frontend/templates/form
dev/tests/integration/testsuite/Magento/Customer/Controller Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ use Magento\Customer\Block\Widget\Name;
40
40
</div>
41
41
<div class="field choice">
42
42
<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" />
45
45
<label class="label" for="change-password">
46
46
<span><?= $ block ->escapeHtml (__ ('Change Password ' )) ?> </span>
47
47
</label>
Original file line number Diff line number Diff line change @@ -511,8 +511,8 @@ public function testEditAction()
511
511
// Verify the password check box is not checked
512
512
$ expectedString = <<<EXPECTED_HTML
513
513
<input type="checkbox" name="change_password" id="change-password" data-role="change-password" value="1"
514
- title="Change Password" class="checkbox"
515
- />
514
+ title="Change Password"
515
+ class="checkbox" />
516
516
EXPECTED_HTML ;
517
517
$ this ->assertContains ($ expectedString , $ body );
518
518
}
@@ -532,8 +532,8 @@ public function testChangePasswordEditAction()
532
532
// Verify the password check box is checked
533
533
$ expectedString = <<<EXPECTED_HTML
534
534
<input type="checkbox" name="change_password" id="change-password" data-role="change-password" value="1"
535
- title="Change Password" class="checkbox"
536
- checked="checked" />
535
+ title="Change Password"
536
+ checked="checked" class="checkbox" />
537
537
EXPECTED_HTML ;
538
538
$ this ->assertContains ($ expectedString , $ body );
539
539
}
You can’t perform that action at this time.
0 commit comments