X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FEvent%2FEventListingTest.php;h=709fa3940fbe13abbeb2a93ead546c447bc80da1;hb=8c9251b398a29d9b82996ae21825c9d6478fa576;hp=252afa9bd41f764d1b95e6450c02425ee1c6c82e;hpb=b7ff0a0a5544c5a5d510c685c8fdbdaecad7a5d0;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Event/EventListingTest.php b/tests/phpunit/WebTest/Event/EventListingTest.php index 252afa9bd4..709fa3940f 100644 --- a/tests/phpunit/WebTest/Event/EventListingTest.php +++ b/tests/phpunit/WebTest/Event/EventListingTest.php @@ -26,16 +26,16 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase { $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"); @@ -73,7 +73,7 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase { $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}")); @@ -81,7 +81,7 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase { $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'); @@ -97,7 +97,7 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase { $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}")); @@ -105,7 +105,7 @@ class WebTest_Event_EventListingTest extends CiviSeleniumTestCase { $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');