X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FEvent%2FPricesetMaxCountTest.php;h=4d965f383a429abf0019a13196827d65751c14b6;hb=7d29fea0e16f4721d7c21d9d14129305801818eb;hp=aebd3294dfd2a10df4eefedca41ad0a12ca9b75c;hpb=a3fdddaaf716351e129fd082fc51fd1345012065;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php b/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php index aebd3294df..4d965f383a 100644 --- a/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php +++ b/tests/phpunit/WebTest/Event/PricesetMaxCountTest.php @@ -177,7 +177,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 2 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 2 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -370,7 +370,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 4 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 4 spaces are available for this option.')); $this->select("price_{$selectFieldId}", "value={$selectFieldOp1}"); @@ -400,7 +400,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info and register $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 2 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 2 spaces are available for this option.')); // fill correct value and register $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -563,7 +563,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 6 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 6 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -584,7 +584,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_1_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 6 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 6 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '3'); @@ -605,7 +605,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_2_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 6 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 6 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -644,7 +644,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 2 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 2 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -670,7 +670,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_1_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 2 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 2 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -840,7 +840,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 12 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 12 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -861,7 +861,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_1_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 12 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 12 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '3'); @@ -882,7 +882,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_2_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 12 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 12 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -921,7 +921,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { // fill billing related info $this->_fillRegisterWithBillingInfo(); - $this->assertStringsPresent(array('Sorry, currently only 4 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 4 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1'); @@ -947,7 +947,7 @@ class WebTest_Event_PricesetMaxCountTest extends CiviSeleniumTestCase { $this->click('_qf_Participant_1_next-Array'); $this->waitForPageToLoad($this->getTimeoutMsec()); - $this->assertStringsPresent(array('Sorry, currently only 4 seats are available for this option.')); + $this->assertStringsPresent(array('Sorry, currently only 4 spaces are available for this option.')); // fill correct value for text field $this->type("xpath=//input[@id='price_{$textFieldId}']", '1');