X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FImport%2FContactTest.php;h=42e9beb0e99bf75bd8b36f58b880ec819a51401f;hb=867970063f640edd408f4eb2fb3fcd8db2761f1b;hp=d105e069710d2113783fff392d91110f9ab3ce5f;hpb=d36b8b20ac964dc3c0a74f98f580dc7b0ad7383e;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Import/ContactTest.php b/tests/phpunit/WebTest/Import/ContactTest.php index d105e06971..42e9beb0e9 100644 --- a/tests/phpunit/WebTest/Import/ContactTest.php +++ b/tests/phpunit/WebTest/Import/ContactTest.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -22,7 +22,7 @@ | 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'; @@ -35,7 +35,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { parent::setUp(); } - /* + /** * Test contact import for Individuals. */ public function testIndividualImport() { @@ -122,7 +122,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { $this->importContacts($headers, $rows, 'Individual', 'No Duplicate Checking'); } - /* + /** * Test contact import for Organization. */ public function testOrganizationImport() { @@ -203,7 +203,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { $this->importContacts($headers, $rows, 'Organization', 'No Duplicate Checking'); } - /* + /** * Test contact import for Household. */ public function testHouseholdImport() { @@ -315,7 +315,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), array( 'first_name' => substr(sha1(rand()), 0, 7), @@ -327,7 +327,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), ); @@ -361,7 +361,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), array( 'organization_name' => 'org_' . substr(sha1(rand()), 0, 7), @@ -371,7 +371,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), ); @@ -405,7 +405,7 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), array( 'household_name' => 'household_' . substr(sha1(rand()), 0, 7), @@ -415,10 +415,11 @@ class WebTest_Import_ContactTest extends ImportCiviSeleniumTestCase { 'address_2' => 'Add 2', 'city' => 'Watson', 'state' => 'NY', - 'country' => 'United States', + 'country' => 'UNITED STATES', ), ); return array($headers, $rows); } + }