Merge pull request #4749 from atif-shaikh/CRM-15729
[civicrm-core.git] / tests / phpunit / WebTest / Event / ParticipantCountTest.php
index 93bd04debe493be918dc317162b01520c60c4464..121c5a0b9fe07a9a730ef87a56bac912300584a5 100644 (file)
@@ -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
    */