Fix captcha transient lifetime, remove a duplicate string [MAILPOET-2246]
This commit is contained in:
@ -545,7 +545,7 @@ class SubscribersTest extends \MailPoetTest {
|
||||
$subscriber->count_confirmations = 1;
|
||||
$subscriber->save();
|
||||
$captcha_value = 'ihg5w';
|
||||
$this->captcha_session->setCaptchaHash('ihg5w');
|
||||
$this->captcha_session->setCaptchaHash($captcha_value);
|
||||
$response = $this->endpoint->subscribe([
|
||||
$this->obfuscatedEmail => $email,
|
||||
'form_id' => $this->form->id,
|
||||
|
Reference in New Issue
Block a user