<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
}
/*
- * Function to test individual pane seperatly.
+ * test individual pane seperatly.
*/
- function testAdvancedSearch() {
+ public function testAdvancedSearch() {
$this->webtestLogin();
// Get all default advance search panes.
}
- function testIndividualSearchPage(){
+ public function testIndividualSearchPage(){
$this->webtestLogin();
$this->openCiviPage("contribute/search", "reset=1");
*/
function _checkOpenedPanes($openedPanes = array(
)) {
- if (!$this->isTextPresent('No matches found')) {
+ if (!$this->isTextPresent('None found.')) {
$this->click('css=div.crm-advanced_search_form-accordion div.crm-accordion-header');
}
*
* @return array
*/
- function _advanceSearchPanesDateFilter($paneRef = NULL) {
+ public function _advanceSearchPanesDateFilter($paneRef = NULL) {
static $_advance_search_panes;
if (!isset($_advance_search_panes) || empty($_advance_search_panes)) {
array(
'type' => 'select',
'locator' => 'contribution_date_relative',
- 'values' => array('This Day'),
+ 'values' => array('Today'),
),
),
),
return $_advance_search_panes;
}
}
-