You are here

public function WebformSubmissionTestCase::testWebformSubmissionDefault in Webform 7.4

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

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

File

tests/WebformSubmissionTestCase.test, line 162

Class

WebformSubmissionTestCase
Webform module submission tests.

Code

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