$eventTitle3 = 'My Conference - ' . substr(sha1(rand()), 0, 7);
$this->_testCreateEvent($eventTitle3, '-1 day', '+12 months');
- //Upcomming Event
+ //Upcoming Event
$eventTitle4 = 'My Conference - ' . substr(sha1(rand()), 0, 7);
$this->_testCreateEvent($eventTitle4, '+6 months', '+12 months');
- //Upcomming Event
+ //Upcoming Event
$eventTitle5 = 'My Conference - ' . substr(sha1(rand()), 0, 7);
$this->_testCreateEvent($eventTitle5, '+3 months', '+6 months');
//go to manage event and check for presence of ongoing and
- //upcomming events
+ //upcoming events
$this->openCiviPage("event/manage", "reset=1");
$this->type("xpath=//div[@class='crm-block crm-form-block crm-event-searchevent-form-block']/table/tbody/tr/td/input", $eventTitle1);
$this->click("_qf_SearchEvent_refresh");
$this->assertFalse($this->isTextPresent("{$eventTitle4}"));
$this->assertFalse($this->isTextPresent("{$eventTitle5}"));
- //go to ical and check for presence of ongoing and upcomming events
+ //go to ical and check for presence of ongoing and upcoming events
$this->openCiviPage("event/ical", "reset=1&page=1&html=1", NULL);
$this->assertFalse($this->isTextPresent("{$eventTitle1}"));
$this->assertFalse($this->isTextPresent("{$eventTitle2}"));
$this->waitForText("option11", "{$eventTitle4}");
$this->waitForText("option11", "{$eventTitle5}");
- //go to block listing to enable Upcomming Events Block
+ //go to block listing to enable Upcoming Events Block
// you need to be admin user for below operation
$this->webtestLogout();
$this->webtestLogin('admin');
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->waitForTextPresent("The block settings have been updated.");
- //go to civicrm home and check for presence of upcomming events
+ //go to civicrm home and check for presence of upcoming events
$this->openCiviPage("dashboard", "reset=1");
$this->assertFalse($this->isTextPresent("{$eventTitle1}"));
$this->assertFalse($this->isTextPresent("{$eventTitle2}"));
$this->waitForText("block-civicrm-6", "{$eventTitle4}");
$this->waitForText("block-civicrm-6", "{$eventTitle5}");
- //go to block listing to disable Upcomming Events Block
+ //go to block listing to disable Upcoming Events Block
$this->open($this->sboxPath . 'admin/structure/block');
$this->select('edit-blocks-civicrm-6-region', 'value=-1');
$this->click('edit-submit');