From: Eileen McNaughton Date: Sat, 24 May 2014 00:58:22 +0000 (+1200) Subject: remove duplicate assignments X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=85d7b6d4128a6f3343501ae71473a992b74feb58;p=civicrm-core.git remove duplicate assignments --- diff --git a/tests/phpunit/api/v3/LineItemTest.php b/tests/phpunit/api/v3/LineItemTest.php index 09c94efdf4..3cd1597a0f 100644 --- a/tests/phpunit/api/v3/LineItemTest.php +++ b/tests/phpunit/api/v3/LineItemTest.php @@ -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']); } diff --git a/tests/phpunit/api/v3/ProfileTest.php b/tests/phpunit/api/v3/ProfileTest.php index ae572972b8..4fed1fdb00 100644 --- a/tests/phpunit/api/v3/ProfileTest.php +++ b/tests/phpunit/api/v3/ProfileTest.php @@ -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',