parent::setUp();
}
- function testEventWaitList() {
+ public function testEventWaitList() {
// Log in using webtestLogin() method
$this->webtestLogin();
- // We need a payment processor
- $processorName = "Webtest Dummy" . substr(sha1(rand()), 0, 7);
+ // Use default payment processor
+ $processorName = 'Test Processor';
$this->webtestAddPaymentProcessor($processorName);
$this->openCiviPage("event/add", "reset=1&action=add");
$this->type("address_1_street_address", $streetAddress);
$this->type("address_1_city", "San Francisco");
$this->type("address_1_postal_code", "94117");
+ $this->select('address_1_country_id', 'United States');
$this->select("address_1_state_province_id", "value=1004");
$this->type("email_1_email", "info@civicrm.org");
* @param $eventTitle
* @param $eventInfoStrings
*/
- function _testVerifyEventInfo($eventTitle, $eventInfoStrings) {
+ public function _testVerifyEventInfo($eventTitle, $eventInfoStrings) {
// verify event input on info page
// start at Manage Events listing
$this->openCiviPage("event/manage", "reset=1");
*
* @return string
*/
- function _testVerifyRegisterPage($registerStrings) {
+ public function _testVerifyRegisterPage($registerStrings) {
// Go to Register page and check for intro text and fee levels
$this->click("link=Register Now");
$this->waitForElementPresent("_qf_Register_upload-bottom");
* @param int $numberRegistrations
* @param bool $anonymous
*/
- function _testOnlineRegistration($registerUrl, $numberRegistrations = 1, $anonymous = TRUE) {
+ public function _testOnlineRegistration($registerUrl, $numberRegistrations = 1, $anonymous = TRUE) {
if ($anonymous) {
$this->webtestLogout();
}
}
}
}
-