Skip to content
Snippets Groups Projects
Commit 721cf6e0 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

whitespace fixes

parent 1c6dbc48
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment