From 721cf6e0b8f1c713a3026e6f5489b3ddd8d0b2ea Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 13 Aug 2013 01:36:57 +0530 Subject: [PATCH] whitespace fixes --- tests/phpunit/WebTest/Contact/AddTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/WebTest/Contact/AddTest.php b/tests/phpunit/WebTest/Contact/AddTest.php index 254e6f5327..2993cff523 100644 --- a/tests/phpunit/WebTest/Contact/AddTest.php +++ b/tests/phpunit/WebTest/Contact/AddTest.php @@ -100,7 +100,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->click("address_1_country_id"); $this->select("address_1_country_id", "value=" . $this->webtestGetValidCountryID()); - if($this->assertElementContainsText('address_1', "Latitude")) { + if ($this->assertElementContainsText('address_1', "Latitude")) { $this->type("address_1_geo_code_1", "1234"); $this->type("address_1_geo_code_2", "5678"); @@ -116,7 +116,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->click("address_2_country_id"); $this->select("address_2_country_id", "value=" . $this->webtestGetValidCountryID()); - if($this->assertElementContainsText('address_2', "Latitude")) { + if ($this->assertElementContainsText('address_2', "Latitude")) { $this->type("address_2_geo_code_1", "1234"); $this->type("address_2_geo_code_2", "5678"); } @@ -170,7 +170,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { function testHouseholdAdd() { $this->webtestLogin(); - // go to display preferences to enable Open ID field + // go to display preferences to enable Open ID field $this->openCiviPage('admin/setting/preferences/display', "reset=1", "_qf_Display_next-bottom"); $this->check("xpath=//ul[@id='contactEditBlocks']//li/span[2]/label[text()='Open ID']/../input"); $this->click("_qf_Display_next-bottom"); @@ -467,7 +467,7 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase { $this->click("_qf_Contact_upload_view"); $this->waitForPageToLoad($this->getTimeoutMsec()); $name = $this->getText("xpath=//div[@class='crm-summary-display_name']"); - $this->waitForText('crm-notification-container', "$name has been created."); + $this->waitForText('crm-notification-container', "$name has been created."); //make sure current employer is set $this->verifyText("xpath=id('contactinfo-block')/div/div/div[2]/div", 'Employer'); -- 2.25.1