public static function CRMCoreContactUITestCase::individualContactValues in CRM Core 7
2 calls to CRMCoreContactUITestCase::individualContactValues()
- CRMCoreContactUITestCase::testContactOperations in modules/
crm_core_contact_ui/ crm_core_contact_ui.test - User with permissions 'administer crm_core_contact entities' should be able to create/edit/delete contacts of any contact type.
- CRMCoreRelationshipUITestCase::testRelationshipOperations in modules/
crm_core_relationship_ui/ crm_core_relationship_ui.test
File
- modules/
crm_core_contact_ui/ crm_core_contact_ui.test, line 148
Class
Code
public static function individualContactValues() {
return array(
'contact_name[und][0][title]' => 'Ms.',
'contact_name[und][0][given]' => DrupalTestCase::randomName(),
'contact_name[und][0][middle]' => DrupalTestCase::randomName(),
'contact_name[und][0][family]' => DrupalTestCase::randomName(),
'contact_name[und][0][generational]' => 'Jr.',
'contact_name[und][0][credentials]' => DrupalTestCase::randomName(),
);
}