Skip to content

Commit ff68181

Browse files
Fixing flaky test ResetPasswordTest
setting password_reset_protection_type 0 so that it doesn't fail when it's tested to quickly
1 parent e9c505e commit ff68181

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/tests/integration/testsuite/Magento/Customer/Model/AccountManagement/ResetPasswordTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public function testSendEmailWithSetNewPasswordLink(): void
8686
/**
8787
* @magentoAppArea frontend
8888
* @magentoDataFixture Magento/Customer/_files/customer.php
89+
* @magentoConfigFixture current_store customer/password/password_reset_protection_type 0
8990
* @return void
9091
*/
9192
public function testSendPasswordResetLink(): void
@@ -99,6 +100,7 @@ public function testSendPasswordResetLink(): void
99100
/**
100101
* @magentoAppArea frontend
101102
* @magentoDataFixture Magento/Customer/_files/customer.php
103+
* @magentoConfigFixture current_store customer/password/password_reset_protection_type 0
102104
* @return void
103105
*/
104106
public function testSendPasswordResetLinkDefaultWebsite(): void
@@ -112,6 +114,8 @@ public function testSendPasswordResetLinkDefaultWebsite(): void
112114
* @magentoAppArea frontend
113115
* @dataProvider passwordResetErrorsProvider
114116
* @magentoDataFixture Magento/Customer/_files/customer.php
117+
* @magentoConfigFixture current_store customer/password/password_reset_protection_type 0
118+
*
115119
* @param string $email
116120
* @param int|null $websiteId
117121
* @return void

0 commit comments

Comments
 (0)