From d08403504b331ba1caca7d8f7dc4289744c4a278 Mon Sep 17 00:00:00 2001 From: Sudha Bisht Date: Tue, 17 Nov 2015 19:23:47 +0530 Subject: [PATCH] Fix --- tests/phpunit/WebTest/Event/AddEventTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Event/AddEventTest.php b/tests/phpunit/WebTest/Event/AddEventTest.php index 688f70bafd..64bf78a554 100644 --- a/tests/phpunit/WebTest/Event/AddEventTest.php +++ b/tests/phpunit/WebTest/Event/AddEventTest.php @@ -1036,7 +1036,7 @@ WHERE ceft.entity_id = %1 AND ceft.entity_table = 'civicrm_contribution'"; $this->openCiviPage("event/manage", "reset=1"); $this->type("title", $eventName); $this->click("_qf_SearchEvent_refresh"); - $this->waitForPageToLoad(); + $this->waitForAjaxContent(); $this->_testAddReminder($eventName); $this->webtestLogout(); @@ -1059,8 +1059,8 @@ WHERE ceft.entity_id = %1 AND ceft.entity_table = 'civicrm_contribution'"; "edit-{$roleId[5]}-access-civicrm", "edit-{$roleId[5]}-access-civievent", ); - $this->changePermissions($permissions); + //Create TestUser2 $this->open($this->sboxPath . "admin/people/create"); $this->waitForElementPresent("edit-submit"); -- 2.25.1