You are here

function WebformSubmissionTestCase::testWebformSubmissionDefault in Webform 6.3

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

Test a submission that uses default values, and check database integrity.

File

tests/submission.test, line 49

Class

WebformSubmissionTestCase

Code

function testWebformSubmissionDefault() {
  $this
    ->drupalLogin($this->webform_users['admin']);
  $this
    ->webformReset();
  $this
    ->webformSubmissionExecute('default');
  $this
    ->drupalLogout();
}