CRM-12350 amend relationship test to pass. Note this could be a regressing but regres...
authoreileen <eileen@fuzion.co.nz>
Sun, 14 Apr 2013 22:55:44 +0000 (10:55 +1200)
committereileen <eileen@fuzion.co.nz>
Sun, 14 Apr 2013 22:55:44 +0000 (10:55 +1200)
tests/phpunit/api/v3/RelationshipTest.php

index 1861334a17af7895ae4ac3d3beb088efdaefc87f..05735fc824e09e18e8a69f8e67d30defc627f377 100644 (file)
@@ -644,7 +644,7 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
   /**
    * check relationship update
    */
-  function testRelationshipUpdate() {
+  function testRelationshipCreateDuplicate() {
     $relParams = array(
       'contact_id_a' => $this->_cId_a,
       'contact_id_b' => $this->_cId_b,
@@ -661,7 +661,6 @@ class api_v3_RelationshipTest extends CiviUnitTestCase {
     $this->_relationID = $result['id'];
 
     $params = array(
-      'relationship_id' => $this->_relationID,
       'contact_id_a' => $this->_cId_a,
       'contact_id_b' => $this->_cId_b,
       'relationship_type_id' => $this->_relTypeID,