From 82a0ae6b70775054490ebd2fd8cd147488775c1e Mon Sep 17 00:00:00 2001
From: eileen <eileen@fuzion.co.nz>
Date: Mon, 15 Apr 2013 10:55:44 +1200
Subject: [PATCH] CRM-12350 amend relationship test to pass. Note this could be
 a regressing but regression is old if so

---
 tests/phpunit/api/v3/RelationshipTest.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/phpunit/api/v3/RelationshipTest.php b/tests/phpunit/api/v3/RelationshipTest.php
index 1861334a17..05735fc824 100644
--- a/tests/phpunit/api/v3/RelationshipTest.php
+++ b/tests/phpunit/api/v3/RelationshipTest.php
@@ -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,
-- 
GitLab