remove duplicate assignments
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 00:58:22 +0000 (12:58 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 01:09:20 +0000 (13:09 +1200)
tests/phpunit/api/v3/LineItemTest.php
tests/phpunit/api/v3/ProfileTest.php

index 09c94efdf43f5fc5559e9156782d8f0dc31f1684..3cd1597a0f5a1980833ed9894534e8969065cb43 100644 (file)
@@ -109,7 +109,7 @@ class api_v3_LineItemTest extends CiviUnitTestCase {
   }
 
   public function testGetFieldsLineItem() {
-    $result = $this->callAPISuccess($this->_entity, 'getfields', array('action' => 'create', 'action' => 'create'));
+    $result = $this->callAPISuccess($this->_entity, 'getfields', array('action' => 'create',));
     $this->assertEquals(1, $result['values']['entity_id']['api.required']);
   }
 
index ae572972b86f1408fa3d471b90d554c9e43e9ca9..4fed1fdb004f76c07d329d71e20f201aec8eaf28 100644 (file)
@@ -138,7 +138,6 @@ class api_v3_ProfileTest extends CiviUnitTestCase {
       'billing_city-5' => 'Gotham City',
       'billing_state_province_id-5' => '1021',
       'billing_country_id-5' => '1228',
-      'billing-email-5' => 'abc1.xyz1@yahoo.com',
       'billing_postal_code-5' => '90210',
       'billing-email-5' => 'abc1.xyz1@yahoo.com',
       'email-5' => 'abc1.xyz1@yahoo.com',