CRM-15197 - Fix for WebTest_Event_AddParticipationTest::testEventAddMultipleParticipants
authorDave Greenberg <dave@civicrm.org>
Thu, 28 Aug 2014 01:25:53 +0000 (18:25 -0700)
committerDave Greenberg <dave@civicrm.org>
Thu, 28 Aug 2014 01:25:53 +0000 (18:25 -0700)
----------------------------------------
* CRM-15197:
  https://issues.civicrm.org/jira/browse/CRM-15197

tests/phpunit/WebTest/Event/AddParticipationTest.php

index cd96cce90e0573a07594a6a41810f79cc3e113d5..0ec39e516bcdb64e0c0479eea92318cd9045aa26 100644 (file)
@@ -342,13 +342,13 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase {
 
     $this->openCiviPage("participant/add", "reset=1&action=add&context=standalone&mode=test&eid=3");
 
-    $this->assertTrue($this->isTextPresent("Register New Participant"), "Page title 'Register New Participant' missing");
+    $this->assertTrue($this->isTextPresent("New Event Registration"), "Page title 'New Event Registration' missing");
     $this->assertTrue($this->isTextPresent("A TEST transaction will be submitted"), "test mode status 'A TEST transaction will be submitted' missing");
     $this->_fillParticipantDetails($firstName, $lastName, $processorId);
     $this->click('_qf_Participant_upload_new-bottom');
     $this->waitForPageToLoad($this->getTimeoutMsec());
 
-    $this->assertTrue($this->isTextPresent("Register New Participant"), "Page title 'Register New Participant' missing");
+    $this->assertTrue($this->isTextPresent("New Event Registration"), "Page title 'New Event Registration' missing");
     $this->assertTrue($this->isTextPresent("A TEST transaction will be submitted"), "test mode status 'A TEST transaction will be submitted' missing");
     $this->_fillParticipantDetails($firstName, $lastName2, $processorId);
     $this->click('_qf_Participant_upload_new-bottom');