You are here

function WebformSubmissionTestCase::testWebformSubmission in Webform 6.3

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

Test sending a submission and check database integrity.

File

tests/submission.test, line 39

Class

WebformSubmissionTestCase

Code

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