Skip to content

Commit 496a520

Browse files
committed
ACP2E-3992: Customer password reset through GraphQL doesn't honour the restrictions
1 parent 3d8ac8c commit 496a520

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Tests the dispatch method in the GraphQl Controller class using a simple product query
2222
*
2323
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
24-
* @magentoDbIsolation disabled
24+
* @magentoDbIsolation enabled
2525
* @magentoAppIsolation enabled
2626
* @magentoAppArea graphql
2727
*/
@@ -123,12 +123,7 @@ public function testMergeCarts(): void
123123
}
124124

125125
/**
126-
* Test password reset email (security disabled)
127-
*
128126
* @magentoDataFixture Magento/Customer/_files/customer.php
129-
* @magentoConfigFixture current_store customer/password/password_reset_protection_type 0
130-
* @magentoConfigFixture current_store customer/password/max_number_password_reset_requests 0
131-
* @magentoConfigFixture current_store customer/password/min_time_between_password_reset_requests 0
132127
* @return void
133128
*/
134129
public function testRequestPasswordResetEmail(): void
@@ -146,12 +141,7 @@ public function testRequestPasswordResetEmail(): void
146141
}
147142

148143
/**
149-
* Test password reset (security disabled)
150-
*
151144
* @magentoDataFixture Magento/Customer/_files/customer.php
152-
* @magentoConfigFixture current_store customer/password/password_reset_protection_type 0
153-
* @magentoConfigFixture current_store customer/password/max_number_password_reset_requests 0
154-
* @magentoConfigFixture current_store customer/password/min_time_between_password_reset_requests 0
155145
* @return void
156146
*/
157147
public function testResetPassword(): void

0 commit comments

Comments
 (0)