CRM-16876 Change country name to uppercase
[civicrm-core.git] / tests / phpunit / WebTest / Import / MultipleRelationshipTest.php
index 7fb663542a05d52f381c1a4151720d06f6afebeb..f27421e1eb608411fc527febdf3567496d675120 100644 (file)
@@ -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';
 
@@ -49,7 +49,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
   }
 
   /**
-   * Helper function to provide data for multiple relationship import
+   * Helper function to provide data for multiple relationship import.
    * for Individuals.
    *
    * @return array
@@ -108,7 +108,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
         'address_2' => 'Add 2',
         'city' => 'Watson',
         'state' => 'NY',
-        'country' => 'United States',
+        'country' => 'UNITED STATES',
         'contact_relationships' =>
         array(
           '4_a_b' => array(
@@ -117,7 +117,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             '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),
@@ -125,7 +125,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             '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),
@@ -134,7 +134,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             'spouse_add' => 'Spouse Street Address',
             'spouse_city' => 'Spouse City',
             'spouse_state' => 'NY',
-            'spouse_country' => 'United States',
+            'spouse_country' => 'UNITED STATES',
           ),
         ),
       ),
@@ -148,7 +148,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
         'address_2' => 'Add 2',
         'city' => 'Watson',
         'state' => 'NY',
-        'country' => 'United States',
+        'country' => 'UNITED STATES',
         'contact_relationships' =>
         array(
           '4_a_b' => array(
@@ -157,7 +157,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             '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),
@@ -165,7 +165,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             '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),
@@ -174,7 +174,7 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
             'spouse_add' => 'Spouse Street Address',
             'spouse_city' => 'Spouse City',
             'spouse_state' => 'NY',
-            'spouse_country' => 'United States',
+            'spouse_country' => 'UNITED STATES',
           ),
         ),
       ),
@@ -225,4 +225,5 @@ class WebTest_Import_MultipleRelationshipTest extends ImportCiviSeleniumTestCase
 
     return array($headers, $rows, $fieldMapper);
   }
+
 }