Merge pull request #9779 from WeMoveEU/CRM-19963
[civicrm-core.git] / tests / phpunit / WebTest / Contact / AdvancedSearchTest.php
index c8665c99dd0fb5655e78ae83392350f074ea5234..c7cc2ede37af3f39a55c5d89457167fa7058fc81 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -125,7 +125,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
     $searchBlockValues = array(
       'basic' => array('', 'addBasicSearchDetail'),
       'location' => array('state_province', 'addAddressSearchDetail'),
-      'demographics' => array('civicrm_gender_Transgender_3', 'addDemographicSearchDetail'),
+      'demographics' => array('civicrm_gender_Other_3', 'addDemographicSearchDetail'),
       'notes' => array('note', ''),
       'activity' => array('activity_type_id', 'addActivitySearchDetail'),
       'CiviContribute' => array('contribution_currency_type', 'addContributionSearchDetail'),
@@ -475,6 +475,7 @@ class WebTest_Contact_AdvancedSearchTest extends CiviSeleniumTestCase {
     $this->type("address_1_street_address", "street 1 $firstName");
     $this->type("address_1_supplemental_address_1", "street supplement 1 $firstName");
     $this->type("address_1_supplemental_address_2", "street supplement 2 $firstName");
+    $this->type("address_1_supplemental_address_3", "street supplement 2 $firstName");
     $this->type("address_1_city", "city$firstName");
     $this->type("address_1_postal_code", "100100");
     $this->select("address_1_country_id", "UNITED STATES");