From 40a03aca0ce94390621b0998d88d4d54b93e0046 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 27 Aug 2014 18:25:53 -0700 Subject: [PATCH] CRM-15197 - Fix for WebTest_Event_AddParticipationTest::testEventAddMultipleParticipants ---------------------------------------- * CRM-15197: https://issues.civicrm.org/jira/browse/CRM-15197 --- tests/phpunit/WebTest/Event/AddParticipationTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Event/AddParticipationTest.php b/tests/phpunit/WebTest/Event/AddParticipationTest.php index cd96cce90e..0ec39e516b 100644 --- a/tests/phpunit/WebTest/Event/AddParticipationTest.php +++ b/tests/phpunit/WebTest/Event/AddParticipationTest.php @@ -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'); -- 2.25.1