function FAPIVTestCase::testFormRulesValid in Form API Validation 7.2
Test Form API Validation with Valid values
File
- tests/
fapi_validation.test, line 52 - Test file for fapi_validation module.
Class
- FAPIVTestCase
- Default test case for the fapi_validation module.
Code
function testFormRulesValid() {
$data = $this->validRuleValues;
$this
->drupalPost($this->mod_url, $data, 'Submit');
$this
->assertText('FAPIV Test 1 OK!');
}