Remove problematic serialize handing from conformance test
authorColeman Watts <coleman@civicrm.org>
Sun, 21 Apr 2019 15:08:18 +0000 (11:08 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 21 Apr 2019 15:08:18 +0000 (11:08 -0400)
tests/phpunit/api/v3/SyntaxConformanceTest.php

index 8880c0c15dbc4620890e66bd862b35c206c15ae8..64dbdcda3f65f1735da6f0eb0b4e38b7a1802931 100644 (file)
@@ -1496,9 +1496,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
         'id' => $entity['id'],
         $field => isset($entity[$field]) ? $entity[$field] : NULL,
       );
-      if (!empty($specs['serialize'])) {
-        $updateParams[$field] = $entity[$field] = (array) $specs['serialize'];
-      }
       if (isset($updateParams['financial_type_id']) && in_array($entityName, array('Grant'))) {
         //api has special handling on these 2 fields for backward compatibility reasons
         $entity['contribution_type_id'] = $updateParams['financial_type_id'];