From dd1e47de84f2bd829b6493cb15fafb0b83ddb1c2 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Wed, 14 May 2014 19:43:32 +0530 Subject: [PATCH] WebTestFix Further Changes --- tests/phpunit/WebTest/Event/AddParticipationTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/WebTest/Event/AddParticipationTest.php b/tests/phpunit/WebTest/Event/AddParticipationTest.php index f775009bbd..ee4852bb94 100644 --- a/tests/phpunit/WebTest/Event/AddParticipationTest.php +++ b/tests/phpunit/WebTest/Event/AddParticipationTest.php @@ -420,6 +420,7 @@ class WebTest_Event_AddParticipationTest extends CiviSeleniumTestCase { $this->select('payment_processor_id', "value={$processorId}"); $event_id = $this->getAttribute("xpath=//*[@id='event_id']@value"); + //check if it is the selected event $this->assertEquals($event_id, 3); $this->select("role_id", "value=1"); $this->webtestAddCreditCardDetails(); -- 2.25.1