whitespace fixes
authorkurund <kurund@civicrm.org>
Mon, 12 Aug 2013 20:06:57 +0000 (01:36 +0530)
committerkurund <kurund@civicrm.org>
Mon, 12 Aug 2013 20:35:33 +0000 (02:05 +0530)
tests/phpunit/WebTest/Contact/AddTest.php

index 254e6f5327efc6b0a8712dd8b957d61836e6ab25..2993cff5235cee1b0cbe3a0871af47b3d5d31c17 100644 (file)
@@ -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');