Hello,
Should i make unit test with validate my RegisterForm with some difference data? I can’t make it work beacuse captcha throw exception about action ID.
$this->model = new RegisterForm([
UserFormsEnums::FIELD_CAPTCHA => 'testme',
]);
$this->model->validate();
codecept_debug($this->model->errors);
expect($this->model->errors)->isEmpty();
Thank you for any advice.