Merge pull request #6500 from LevityNL/master
[civicrm-core.git] / tests / phpunit / WebTest / Admin / RelationshipTypeAddTest.php
index e58b5c17448042e0c2996766b9bb8709ae665d60..03761e4f2b79955a61fc49505c4f70d943ba5b9f 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -22,7 +22,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 require_once 'CiviTest/CiviSeleniumTestCase.php';
 
@@ -35,7 +35,7 @@ class WebTest_Admin_RelationshipTypeAddTest extends CiviSeleniumTestCase {
     parent::setUp();
   }
 
-  function testRelationshipTypeAdd() {
+  public function testRelationshipTypeAdd() {
 
     $this->webtestLogin();
     $this->waitForPageToLoad($this->getTimeoutMsec());
@@ -78,7 +78,7 @@ class WebTest_Admin_RelationshipTypeAddTest extends CiviSeleniumTestCase {
     }
   }
 
-  function testRelationshipTypeAddValidateFormRules() {
+  public function testRelationshipTypeAddValidateFormRules() {
 
     $this->webtestLogin();
     $this->waitForPageToLoad($this->getTimeoutMsec());
@@ -122,5 +122,5 @@ class WebTest_Admin_RelationshipTypeAddTest extends CiviSeleniumTestCase {
 
     $this->waitForText('crm-notification-container', 'Label already exists in Database.');
   }
-}
 
+}