From 4961a013a1eaf3e5c4354b295f19b9b24399db56 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 30 Mar 2015 19:13:07 +0530 Subject: [PATCH] formatting fixes --- tests/phpunit/WebTest/Mailing/ABMailingTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/WebTest/Mailing/ABMailingTest.php b/tests/phpunit/WebTest/Mailing/ABMailingTest.php index b753bd1389..586423632c 100644 --- a/tests/phpunit/WebTest/Mailing/ABMailingTest.php +++ b/tests/phpunit/WebTest/Mailing/ABMailingTest.php @@ -158,7 +158,7 @@ class WebTest_Mailing_ABMailingTest extends CiviSeleniumTestCase { $this->clickLink("xpath=//table//tbody/tr[td[1]/text()='Final ($ABTestName)']/descendant::a[text()='Report']"); //get actual number of user for mailing - $mailedUser = round($totalUser * ($totalUser/100)); + $mailedUser = round($totalUser * ($totalUser / 100)); //---- check for delivery detail-- @@ -244,7 +244,7 @@ class WebTest_Mailing_ABMailingTest extends CiviSeleniumTestCase { $this->click("xpath=//div[@class='action-link']/a/span[contains(text(), 'Add From Email Address')]"); $this->waitForAjaxContent(); $formEmailAddressB = 'ABMailing_' . substr(sha1(rand()), 0, 7); - $bEmailID = '"' . $formEmailAddressB.'" <' . $formEmailAddressB . '@abtest.org>'; + $bEmailID = '"' . $formEmailAddressB . '" <' . $formEmailAddressB . '@abtest.org>'; $this->type("xpath=//input[@name='label']", "$bEmailID"); $this->click("xpath=//button/span[text()='Save']"); @@ -328,7 +328,7 @@ class WebTest_Mailing_ABMailingTest extends CiviSeleniumTestCase { $this->clickLink("xpath=//table//tbody/tr[td[1]/text()='Final ($ABTestName)']/descendant::a[text()='Report']"); //get actual number of user for mailing - $mailedUser = round($totalUser * ($totalUser/100)); + $mailedUser = round($totalUser * ($totalUser / 100)); //---- check for delivery detail-- $this->waitForElementPresent("xpath=//table[@class='crm-mailing-ab-table']/tbody/tr//td//a[text()=" . $mailedUser . "]"); @@ -502,7 +502,7 @@ class WebTest_Mailing_ABMailingTest extends CiviSeleniumTestCase { $this->clickLink("xpath=//table//tbody/tr[td[1]/text()='Final ($ABTestName)']/descendant::a[text()='Report']"); //get actual number of user for mailing - $mailedUser = round($totalUser * ($totalUser/100)); + $mailedUser = round($totalUser * ($totalUser / 100)); //---- check for delivery detail-- $this->waitForElementPresent("xpath=//table[@class='crm-mailing-ab-table']/tbody/tr//td//a[text()=" . $mailedUser . "]"); -- 2.25.1