You are here

public function WebformSubmissionTestCase::testWebformSubmissionValidate in Webform 7.4

Same name and namespace in other branches
  1. 6.3 tests/submission.test \WebformSubmissionTestCase::testWebformSubmissionValidate()
  2. 7.3 tests/submission.test \WebformSubmissionTestCase::testWebformSubmissionValidate()

Test validation errors on each component that has specialized validation.

File

tests/WebformSubmissionTestCase.test, line 172

Class

WebformSubmissionTestCase
Webform module submission tests.

Code

public function testWebformSubmissionValidate() {
  $this
    ->drupalLogin($this->webform_users['admin']);
  $this
    ->webformReset();
  $this
    ->webformSubmissionValidateExecute();
  $this
    ->drupalLogout();
}