public function WebformTestCase::webformReset in Webform 7.4
Same name and namespace in other branches
- 6.3 tests/webform.test \WebformTestCase::webformReset()
- 6.2 tests/webform.test \WebformTestCase::webformReset()
- 7.3 tests/webform.test \WebformTestCase::webformReset()
Reset the form.
8 calls to WebformTestCase::webformReset()
- WebformConditionalsTestCase::testWebformConditionals in tests/
WebformConditionalsTestCase.test - Test that required fields with no default value can't be submitted as-is.
- WebformPermissionsTestCase::testWebformSubmitAccess in tests/
WebformPermissionsTestCase.test - Create a webform node in which authenticated users have access to submit.
- WebformSubmissionTestCase::testWebformSubmission in tests/
WebformSubmissionTestCase.test - Test sending a submission and check database integrity.
- WebformSubmissionTestCase::testWebformSubmissionComponentLength in tests/
WebformSubmissionTestCase.test - Test length validation.
- WebformSubmissionTestCase::testWebformSubmissionDefault in tests/
WebformSubmissionTestCase.test - Test a submission that uses default values, and check database integrity.
File
- tests/
WebformTestCase.test, line 99
Class
- WebformTestCase
- Webform module tests.
Code
public function webformReset() {
$this->_webform_node = NULL;
$this->_webform_components = NULL;
}