+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
require_once 'WebTest/Import/ImportCiviSeleniumTestCase.php';
}
/**
- * Helper function to provide data for multiple relationship import
+ * Helper function to provide data for multiple relationship import.
* for Individuals.
*
* @return array
'address_2' => 'Add 2',
'city' => 'Watson',
'state' => 'NY',
- 'country' => 'United States',
+ 'country' => 'UNITED STATES',
'contact_relationships' =>
array(
'4_a_b' => array(
'organization_add' => 'Org Street Address',
'organization_city' => 'Org City',
'organization_state' => 'NY',
- 'organization_country' => 'United States',
+ 'organization_country' => 'UNITED STATES',
),
'7_a_b' => array(
'household_name' => 'House ' . substr(sha1(rand()), 0, 7),
'household_add' => 'House Street Address',
'household_city' => 'House City',
'household_state' => 'NY',
- 'household_country' => 'United States',
+ 'household_country' => 'UNITED STATES',
),
'2_a_b' => array(
'spouse_f_name' => substr(sha1(rand()), 0, 7),
'spouse_add' => 'Spouse Street Address',
'spouse_city' => 'Spouse City',
'spouse_state' => 'NY',
- 'spouse_country' => 'United States',
+ 'spouse_country' => 'UNITED STATES',
),
),
),
'address_2' => 'Add 2',
'city' => 'Watson',
'state' => 'NY',
- 'country' => 'United States',
+ 'country' => 'UNITED STATES',
'contact_relationships' =>
array(
'4_a_b' => array(
'organization_add' => 'Org Street Address',
'organization_city' => 'Org City',
'organization_state' => 'NY',
- 'organization_country' => 'United States',
+ 'organization_country' => 'UNITED STATES',
),
'7_a_b' => array(
'household_name' => 'House ' . substr(sha1(rand()), 0, 7),
'household_add' => 'House Street Address',
'household_city' => 'House City',
'household_state' => 'NY',
- 'household_country' => 'United States',
+ 'household_country' => 'UNITED STATES',
),
'2_a_b' => array(
'spouse_f_name' => substr(sha1(rand()), 0, 7),
'spouse_add' => 'Spouse Street Address',
'spouse_city' => 'Spouse City',
'spouse_state' => 'NY',
- 'spouse_country' => 'United States',
+ 'spouse_country' => 'UNITED STATES',
),
),
),
return array($headers, $rows, $fieldMapper);
}
+
}