From: atif-shaikh Date: Fri, 13 Mar 2015 13:20:03 +0000 (+0530) Subject: Webtest QA Fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2e21c7ba5e45954199c5ecafa2a0eb66034dbdc6;p=civicrm-core.git Webtest QA Fix --- 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());