File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dev/tests/functional/tests/app/Magento/Security/Test/TestCase Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public function test(
125
125
126
126
$ this ->cmsIndex ->getLinksBlock ()->openLink ('My Account ' );
127
127
$ this ->customerAccountIndex ->getInfoBlock ()->openChangePassword ();
128
- for ($ i = 0 ; $ i <= $ attempts ; $ i ++) {
128
+ for ($ i = 0 ; $ i < $ attempts ; $ i ++) {
129
129
if ($ i > 0 ) {
130
130
$ this ->customerAccountIndex ->getInfoBlock ()->checkChangePassword ();
131
131
}
Original file line number Diff line number Diff line change 14
14
<data name =" customer/data/current_password" xsi : type =" string" >incorrect password</data >
15
15
<data name =" customer/data/password" xsi : type =" string" >123123^a</data >
16
16
<data name =" customer/data/password_confirmation" xsi : type =" string" >123123^a</data >
17
- <data name =" attempts" xsi : type =" string" >6 </data >
17
+ <data name =" attempts" xsi : type =" string" >7 </data >
18
18
<constraint name =" Magento\Security\Test\Constraint\AssertCustomerIsLocked" />
19
19
</variation >
20
20
</testCase >
You can’t perform that action at this time.
0 commit comments