You are here

function WebformSubmissionTestCase::testWebformSubmissionValidate in Webform 6.3

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

Test validation errors on each component that has specialized validation.

File

tests/submission.test, line 59

Class

WebformSubmissionTestCase

Code

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