Skip to content

Commit 9918a0b

Browse files
committed
ACP2E-222: Magento forms can be submitted before the Google Recaptcha appears in the form
1 parent 65af694 commit 9918a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReCaptchaCustomer/Test/Unit/Plugin/Customer/DisableCreateAccountButtonTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function setUp(): void
4747

4848
public function testAfterEnabled()
4949
{
50-
$key = 'customer_login';
50+
$key = 'customer_create';
5151
$this->isCaptchaEnabled->expects($this->once())
5252
->method('isCaptchaEnabledFor')->with($key)->willReturn(true);
5353
$this->assertEquals(true, $this->plugin->afterDisabled($this->subject));

0 commit comments

Comments
 (0)