Action schedule API modifications
[civicrm-core.git] / tests / phpunit / api / v3 / RelationshipTypeTest.php
index 32d2bf872732f8bf671fd05b39861400d0859c8a..03823482bbcce58bdf9ce4ed4aa9c6033e415d0b 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
-| CiviCRM version 4.3                                                |
+| CiviCRM version 4.4                                                |
 +--------------------------------------------------------------------+
 | Copyright CiviCRM LLC (c) 2004-2013                                |
 +--------------------------------------------------------------------+
@@ -28,7 +28,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -75,8 +75,8 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
   function setUp() {
 
     parent::setUp();
-    $this->_cId_a      = $this->individualCreate(NULL);
-    $this->_cId_b      = $this->organizationCreate(NULL);
+    $this->_cId_a      = $this->individualCreate();
+    $this->_cId_b      = $this->organizationCreate();
   }
 
   function tearDown() {
@@ -208,7 +208,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
    */
   function testRelationshipTypeUpdateWithoutContactType() {
     // create sample relationship type.
-    $this->_relTypeID = $this->_relationshipTypeCreate(NULL);
+    $this->_relTypeID = $this->_relationshipTypeCreate();
 
     $relTypeParams = array(
       'id' => $this->_relTypeID,
@@ -230,7 +230,7 @@ class api_v3_RelationshipTypeTest extends CiviUnitTestCase {
    */
   function testRelationshipTypeUpdate() {
     // create sample relationship type.
-    $this->_relTypeID = $this->_relationshipTypeCreate(NULL);
+    $this->_relTypeID = $this->_relationshipTypeCreate();
 
     $params = array(
       'id' => $this->_relTypeID,