Mass switch to openCiviPage method
[civicrm-core.git] / tests / phpunit / WebTest / Contact / RelationshipAddTest.php
index 02f4e988c9461ed0c210eb2709a1bab77e549faf..de2d5f651e1e37d03b89f2f6630fa5e5bedc15d7 100644 (file)
@@ -222,8 +222,7 @@ class WebTest_Contact_RelationshipAddTest extends CiviSeleniumTestCase {
       "Status message didn't show up after saving!"
     );
 
-    $this->open($this->sboxPath . 'civicrm/admin/reltype?reset=1');
-    $this->waitForPageToLoad($this->getTimeoutMsec());
+    $this->openCiviPage("admin/reltype", "reset=1");
 
     //validate data on selector.
     $data = $params;