constCAPTCHA_WRONG_RESPONSE_ERROR_MESSAGE='The answer you entered for the CAPTCHA was not correct.';
/**
* Unknown CSID error message.
*/
constCAPTCHA_UNKNOWN_CSID_ERROR_MESSAGE='CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if this problem persists.';
/**
* Modules to install for this Test class.
*
* @var array
*/
publicstatic$modules=['captcha','comment'];
/**
* User with various administrative permissions.
*
* @var \Drupal\user\Entity\User
*/
protected$adminUser;
/**
* Normal visitor with limited permissions.
*
* @var \Drupal\user\Entity\User
*/
protected$normalUser;
/**
* Form ID of comment form on standard (page) node.
*/
constCOMMENT_FORM_ID='comment_comment_form';
constLOGIN_HTML_FORM_ID='user-login-form';
/**
* Drupal path of the (general) CAPTCHA admin page.
@@ -40,6 +40,18 @@ abstract class CaptchaBaseWebTestCase extends WebTestBase {
*/
constCAPTCHA_UNKNOWN_CSID_ERROR_MESSAGE='CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if this problem persists.';
/**
* Form ID of comment form on standard (page) node.
*/
constCOMMENT_FORM_ID='comment_comment_form';
constLOGIN_HTML_FORM_ID='user-login-form';
/**
* Drupal path of the (general) CAPTCHA admin page.