X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FContact%2FSearchbyDateFilterTest.php;h=d93e0211db5aa3f821bb2c33749b4dc6d0eeccd1;hb=34b568c4f00791aa48c724b9c1e7bba247e80930;hp=185f1291d84bc9809b4b80d592a5ec6e6fd826fa;hpb=bada0f6668a8f2b1dd3210b7ecfa81db50e9f76d;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php b/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php index 185f1291d8..d93e0211db 100644 --- a/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php +++ b/tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php @@ -1,7 +1,7 @@ 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"); @@ -158,7 +158,7 @@ class WebTest_Contact_SearchbyDateFilterTest extends CiviSeleniumTestCase { */ 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'); } @@ -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; } } -