Merge pull request #6645 from lcdservices/CRM-17122
[civicrm-core.git] / tests / phpunit / WebTest / Contact / ProfileChecksumTest.php
index c0b589084acffea495758b38087c396d7bd6c9af..d087e6f71945925ed26c1b872fdb5b90ed27d940 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | 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 'CiviTest/CiviSeleniumTestCase.php';
 
@@ -76,7 +76,7 @@ class WebTest_Contact_ProfileChecksumTest extends CiviSeleniumTestCase {
         'location' => 0,
         'default_value' => '1228',
         'update_value' => '1228',
-        'update_value_label' => 'United States',
+        'update_value_label' => 'UNITED STATES',
         'element_name' => 'country-Primary',
         'html_type' => 'select',
       ),
@@ -103,7 +103,12 @@ class WebTest_Contact_ProfileChecksumTest extends CiviSeleniumTestCase {
     $profileId = $this->_testCreateContactProfile($fields, $profileName);
 
     // Check for profile create/edit permissions.
-    $permission = array('edit-1-profile-edit', 'edit-1-profile-create', 'edit-1-access-all-custom-data', 'edit-1-edit-all-contacts');
+    $permission = array(
+      'edit-1-profile-edit',
+      'edit-1-profile-create',
+      'edit-1-access-all-custom-data',
+      'edit-1-edit-all-contacts',
+    );
     $this->changePermissions($permission);
 
     // Get checksum of the newly created contact.
@@ -184,4 +189,5 @@ class WebTest_Contact_ProfileChecksumTest extends CiviSeleniumTestCase {
     }
     return $profileId;
   }
+
 }