parent::setUp();
}
- /*
+ /**
* Test contact import for Individuals.
*/
public function testIndividualImport() {
$this->importContacts($headers, $rows, 'Individual', 'No Duplicate Checking');
}
- /*
+ /**
* Test contact import for Organization.
*/
public function testOrganizationImport() {
$this->importContacts($headers, $rows, 'Organization', 'No Duplicate Checking');
}
- /*
+ /**
* Test contact import for Household.
*/
public function testHouseholdImport() {
);
$rows = array(
- array('first_name' => substr(sha1(rand()), 0, 7),
+ array(
+ 'first_name' => substr(sha1(rand()), 0, 7),
'middle_name' => substr(sha1(rand()), 0, 7),
'last_name' => 'Anderson',
'email' => substr(sha1(rand()), 0, 7) . '@example.com',
'state' => 'NY',
'country' => 'United States',
),
- array('first_name' => substr(sha1(rand()), 0, 7),
+ array(
+ 'first_name' => substr(sha1(rand()), 0, 7),
'middle_name' => substr(sha1(rand()), 0, 7),
'last_name' => 'Summerson',
'email' => substr(sha1(rand()), 0, 7) . '@example.com',
);
$rows = array(
- array('organization_name' => 'org_' . substr(sha1(rand()), 0, 7),
+ array(
+ 'organization_name' => 'org_' . substr(sha1(rand()), 0, 7),
'email' => substr(sha1(rand()), 0, 7) . '@example.org',
'phone' => '9949912154',
'address_1' => 'Add 1',
'state' => 'NY',
'country' => 'United States',
),
- array('organization_name' => 'org_' . substr(sha1(rand()), 0, 7),
+ array(
+ 'organization_name' => 'org_' . substr(sha1(rand()), 0, 7),
'email' => substr(sha1(rand()), 0, 7) . '@example.org',
'phone' => '6949412154',
'address_1' => 'Add 1',
);
$rows = array(
- array('household_name' => 'household_' . substr(sha1(rand()), 0, 7),
+ array(
+ 'household_name' => 'household_' . substr(sha1(rand()), 0, 7),
'email' => substr(sha1(rand()), 0, 7) . '@example.org',
'phone' => '3949912154',
'address_1' => 'Add 1',
'state' => 'NY',
'country' => 'United States',
),
- array('household_name' => 'household_' . substr(sha1(rand()), 0, 7),
+ array(
+ 'household_name' => 'household_' . substr(sha1(rand()), 0, 7),
'email' => substr(sha1(rand()), 0, 7) . '@example.org',
'phone' => '5949412154',
'address_1' => 'Add 1',