Merge branch '4.6' into master
authorColeman Watts <coleman@civicrm.org>
Thu, 19 Nov 2015 02:12:30 +0000 (21:12 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 19 Nov 2015 02:12:30 +0000 (21:12 -0500)
Conflicts:
CRM/Case/Form/Search.php
tests/phpunit/WebTest/Contribute/PCPAddTest.php
tests/phpunit/WebTest/Member/InheritedMembershipTest.php
tests/phpunit/WebTest/Member/OnlineMembershipRenewTest.php

14 files changed:
1  2 
CRM/Case/Form/Search.php
CRM/Contact/Form/DedupeRules.php
CRM/Dedupe/Finder.php
CRM/Report/Form/Event/ParticipantListing.php
install/index.php
templates/CRM/Admin/Page/APIExplorer.js
tests/phpunit/WebTest/ACL/AssignUsersToRolesTest.php
tests/phpunit/WebTest/Case/CaseDashboardTest.php
tests/phpunit/WebTest/Contact/DupeContactTest.php
tests/phpunit/WebTest/Contribute/PCPAddTest.php
tests/phpunit/WebTest/Event/AddEventTest.php
tests/phpunit/WebTest/Event/ParticipantSearchTest.php
tests/phpunit/WebTest/Member/InheritedMembershipTest.php
tests/phpunit/WebTest/Member/OfflineMembershipRenewTest.php

index be4911766414057c47061d12ef0c17a18d5ab083,e5c7918a8fa1d3655edb5f911fbd08f8948e0b4f..8c6b2acd31e636698370aaa20de25c69de6e4a7b
@@@ -372,8 -383,8 +372,8 @@@ class CRM_Case_Form_Search extends CRM_
        CRM_Core_DAO::$_nullObject
      );
      if ($caseType) {
-       $this->_formValues['case_type_id'][$caseType] = $caseType;
-       $this->_defaults['case_type_id'][$caseType] = $caseType;
 -      $this->_formValues['case_type_id'] = $caseType;
 -      $this->_defaults['case_type_id'] = $caseType;
++      $this->_formValues['case_type_id'] = (array) $caseType;
++      $this->_defaults['case_type_id'] = (array) $caseType;
      }
  
      $caseFromDate = CRM_Utils_Request::retrieve('pstart', 'Date',
Simple merge
Simple merge
index c70deebe328dfa83a00293c7d60937868a971b32,8f8303dff0b32575f1fb8e7672c4282bab772249..3c954df829697ea6e4cb7e1573bd293d4b345fd5
@@@ -103,19 -76,16 +103,19 @@@ require_once $crmPath . '/CRM/Core/Clas
  CRM_Core_ClassLoader::singleton()->register();
  
  // Load civicrm database config
- if (isset($_REQUEST['mysql'])) {
-   $databaseConfig = $_REQUEST['mysql'];
+ if (isset($_POST['mysql'])) {
+   $databaseConfig = $_POST['mysql'];
  }
  else {
 -  $databaseConfig = array(
 -    "server" => "localhost",
 -    "username" => "civicrm",
 -    "password" => "",
 -    "database" => "civicrm",
 -  );
 +  if ($installType == 'wordpress') {
 +    //WP Database Data
 +    $databaseConfig = array(
 +      "server" => DB_HOST,
 +      "username" => DB_USER,
 +      "password" => DB_PASSWORD,
 +      "database" => DB_NAME,
 +    );
 +  }
  }
  
  if ($installType == 'drupal') {
index afb77efc0f294dad659437bde17e7f866df40173,c5930a68f65f16775c90db7c0bcf5161f86f9b15..3f22d75cc86907b776a8818e44873ef815f00dc8
@@@ -201,9 -201,9 +201,9 @@@ class WebTest_Member_OfflineMembershipR
      $this->waitForElementPresent("xpath=//table[@class='display dataTable no-footer']/tbody/tr/td[9]/span/a[contains(text(), 'View')]");
  
      // click through to the membership view screen
 -
 +    $this->waitForAjaxContent();
      $this->click("xpath=//table[@class='display dataTable no-footer']/tbody/tr/td[9]/span/a[contains(text(), 'View')]");
-     $this->waitForElementPresent("xpath=//button//span[contains(text(),'Done')]");
+     $this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
  
      $joinDate = date('F jS, Y');
      $startDate = date('F jS, Y', strtotime("+1 month"));