public function RequiredByRoleDateFieldWebTestCase::DotestDatePopupElementForm in Required by role 7
Testing date_popup element in a non field form.
1 call to RequiredByRoleDateFieldWebTestCase::DotestDatePopupElementForm()
- RequiredByRoleDateFieldWebTestCase::testDoTests in tests/
required_by_role_test/ RequiredByRoleDateFieldWebTestCase.test - Grouping testing method.
File
- tests/
required_by_role_test/ RequiredByRoleDateFieldWebTestCase.test, line 47 - Tests for the Email field.
Class
- RequiredByRoleDateFieldWebTestCase
- @file Tests for the Email field.
Code
public function DotestDatePopupElementForm() {
$this
->drupalGet('form-date-element-test');
$this
->assertNoText('Notice: Undefined index: #instance in required_by_role_', "No undefined index error found.");
}