Webtests and CRM test fix
[civicrm-core.git] / tests / phpunit / WebTest / Contact / SearchbyDateFilterTest.php
index 0f58868dc2702c73f6713e2c0f776653ab246a62..d93e0211db5aa3f821bb2c33749b4dc6d0eeccd1 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -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;
   }
 }
-