From 2e21c7ba5e45954199c5ecafa2a0eb66034dbdc6 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Fri, 13 Mar 2015 18:50:03 +0530 Subject: [PATCH] Webtest QA Fix --- tests/phpunit/WebTest/Contribute/OfflineContributionTest.php | 2 +- .../phpunit/WebTest/Contribute/OfflineRecurContributionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php index 1c1b90514c..637cbff85f 100644 --- a/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OfflineContributionTest.php @@ -321,7 +321,7 @@ class WebTest_Contribute_OfflineContributionTest extends CiviSeleniumTestCase { // since we don't have live credentials we will switch to test mode $url = $this->getAttribute("xpath=//*[@id='Search']/div[2]/div[2]/a[1]@href"); - $url = $url.'&mode=test'; + $url .= '&mode=test'; $this->open($url); $this->waitForPageToLoad($this->getTimeoutMsec()); diff --git a/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php b/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php index 418e27e38b..dcd3918743 100644 --- a/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/OfflineRecurContributionTest.php @@ -54,7 +54,7 @@ class WebTest_Contribute_OfflineRecurContributionTest extends CiviSeleniumTestCa $this->waitForElementPresent('link=Record Contribution (Check, Cash, EFT ...)'); // since we don't have live credentials we will switch to test mode $url = $this->getAttribute("xpath=//*[@id='Search']/div[2]/div[2]/a[1]@href"); - $url = $url.'&mode=test'; + $url .= '&mode=test'; $this->open($url); $this->waitForPageToLoad($this->getTimeoutMsec()); -- 2.25.1