Fixed webtest for member and contact
[civicrm-core.git] / tests / phpunit / WebTest / Contact / AddTest.php
index b553f665b3d8d4c7c59b602dc4c1d5f971bb45ba..f35f9c19c63798813cafcae3d110dd7f9eba20f3 100644 (file)
@@ -443,8 +443,6 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase {
 
     $this->click("_qf_Edit_next");
 
-    // Is new contact created?
-    $this->waitForText("css=div.crm-status-box-msg", "$currentEmployer Created");
     $this->select2('employer_id', $currentEmployer);
 
     //make sure shared address is selected
@@ -476,9 +474,6 @@ class WebTest_Contact_AddTest extends CiviSeleniumTestCase {
 
     $this->click("_qf_Edit_next");
 
-    // Is new contact created?
-    $this->waitForText("css=div.crm-status-box-msg", "$sharedHousehold Created");
-
     //make sure shared address is selected
     $this->waitForElementPresent('selected_shared_address-2');