Webtests and CRM test fix
[civicrm-core.git] / tests / phpunit / WebTest / Contact / SearchbyDateFilterTest.php
index 164162292e670d07357a4dcd40487cc15f7ac6de..d93e0211db5aa3f821bb2c33749b4dc6d0eeccd1 100644 (file)
@@ -38,7 +38,7 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase {
   /*
    * test individual pane seperatly.
    */
-  function testAdvancedSearch() {
+  public function testAdvancedSearch() {
     $this->webtestLogin();
 
     // Get all default advance search panes.
@@ -61,7 +61,7 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase {
 
   }
 
-  function testIndividualSearchPage(){
+  public function testIndividualSearchPage(){
     $this->webtestLogin();
 
     $this->openCiviPage("contribute/search", "reset=1");
@@ -230,7 +230,7 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase {
    *
    * @return array
    */
-  function _advanceSearchPanesDateFilter($paneRef = NULL) {
+  public function _advanceSearchPanesDateFilter($paneRef = NULL) {
     static $_advance_search_panes;
 
     if (!isset($_advance_search_panes) || empty($_advance_search_panes)) {
@@ -307,7 +307,7 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase {
                 array(
                       'type' => 'select',
                       'locator' => 'contribution_date_relative',
-                      'values' => array('This Day'),
+                      'values' => array('Today'),
             ),
           ),
         ),
@@ -368,4 +368,3 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase {
     return $_advance_search_panes;
   }
 }
-