From 6dc1544e29c1c31a6aa5435f98486bec2a6cd032 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 19 Oct 2014 22:58:09 +1300 Subject: [PATCH] enable price set single value alter test --- tests/phpunit/api/v3/SyntaxConformanceTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 60bcc443e1..643fb2d83c 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -349,7 +349,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { 'Participant', 'ParticipantPayment', 'LineItem', - 'PriceSet', 'PriceField', 'PriceFieldValue', 'PledgePayment', @@ -1067,7 +1066,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { 'id' => $entity['id'], $field => isset($entity[$field]) ? $entity[$field] : NULL, ); - if(isset($updateParams['financial_type_id']) && !in_array($entityName, array('Product', 'MembershipType'))) { + if(isset($updateParams['financial_type_id']) && !in_array($entityName, array('Product', 'MembershipType', 'PriceSet'))) { //api has special handling on these 2 fields for backward compatibility reasons $entity['contribution_type_id'] = $updateParams['financial_type_id']; } -- 2.25.1