projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4749 from atif-shaikh/CRM-15729
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Event
/
ParticipantCountTest.php
diff --git
a/tests/phpunit/WebTest/Event/ParticipantCountTest.php
b/tests/phpunit/WebTest/Event/ParticipantCountTest.php
index 2e7a16d6ee6d941ae2bab533312a9da5d63aaa22..121c5a0b9fe07a9a730ef87a56bac912300584a5 100644
(file)
--- 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->waitForPageToLoad($this->getTimeoutMsec());
// verify number of registered participants
- $this->assert
True($this->isTextPresent('2 Results')
);
+ $this->assert
ElementContainsText("xpath=//div[@id='search-status']/table/tbody/tr[1]/td", '2 Results'
);
}
function testParticipantCountWithPriceset() {
}
function testParticipantCountWithPriceset() {
@@
-331,7
+331,7
@@
class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase {
}
/**
}
/**
- * @param $params
+ * @param
array
$params
*
* @return string
*/
*
* @return string
*/
@@
-437,7
+437,7
@@
class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase {
}
/**
}
/**
- * @param $eventParams
+ * @param
array
$eventParams
* @param $participants
* @param $priceFieldOptionCounts
*/
* @param $participants
* @param $priceFieldOptionCounts
*/
@@
-448,7
+448,7
@@
class WebTest_Event_ParticipantCountTest extends CiviSeleniumTestCase {
$this->click('_qf_Custom_refresh-bottom');
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click('_qf_Custom_refresh-bottom');
$this->waitForPageToLoad($this->getTimeoutMsec());
- $tableHeaders = array('Contact ID', 'Participant I
d
', 'Name');
+ $tableHeaders = array('Contact ID', 'Participant I
D
', 'Name');
$tableHeaders = array_merge($tableHeaders, array_keys(current($priceFieldOptionCounts)));
$tdnum = 2;
$tableHeaders = array_merge($tableHeaders, array_keys(current($priceFieldOptionCounts)));
$tdnum = 2;