X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FEvent%2FParticipantCountTest.php;h=121c5a0b9fe07a9a730ef87a56bac912300584a5;hb=63e91f559645ec20ff4bcce59ea8c5cad7ced61e;hp=93bd04debe493be918dc317162b01520c60c4464;hpb=c490a46ac4bf490d3fbb31e35d24c6b43e764f00;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Event/ParticipantCountTest.php b/tests/phpunit/WebTest/Event/ParticipantCountTest.php index 93bd04debe..121c5a0b9f 100644 --- a/tests/phpunit/WebTest/Event/ParticipantCountTest.php +++ b/tests/phpunit/WebTest/Event/ParticipantCountTest.php @@ -106,7 +106,7 @@ class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase { $this->waitForPageToLoad($this->getTimeoutMsec()); // verify number of registered participants - $this->assertTrue($this->isTextPresent('2 Results')); + $this->assertElementContainsText("xpath=//div[@id='search-status']/table/tbody/tr[1]/td", '2 Results'); } function testParticipantCountWithPriceset() { @@ -437,7 +437,7 @@ class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase { } /** - * @param $eventParams + * @param array $eventParams * @param $participants * @param $priceFieldOptionCounts */