From: Tim Otten Date: Fri, 15 Nov 2013 23:09:04 +0000 (-0800) Subject: SyntaxConformanceTest - Skip single-value-alter for ActionSchedule.group_id X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=03fe1a0020f9c6a8e7adb43f9794b04eb1569088;p=civicrm-core.git SyntaxConformanceTest - Skip single-value-alter for ActionSchedule.group_id --- diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 5bcff6511e..7582f591e8 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -252,6 +252,11 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { public function getKnownUnworkablesUpdateSingle($entity, $key){ // can't update values are values for which updates don't result in the value being changed $knownFailures = array( + 'ActionSchedule' => array( + 'cant_update' => array( + 'group_id', + ), + ), 'Address' => array( 'cant_update' => array( 'state_province_id', //issues with country id - need to ensure same country @@ -738,9 +743,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { ); $checkEntity = $this->callAPISuccess($entityName, 'getsingle', $checkParams); - $this->assertAPIArrayComparison($entity, $checkEntity, array(), "changing field $fieldName\n"); - //print_r(array('update-params' => $updateParams, 'update-result' => $update, 'getsingle-params' => $checkParams, 'getsingle-result' => $checkEntity, 'expected entity' => $entity), TRUE) - + $this->assertAPIArrayComparison($entity, $checkEntity, array(), "changing field $fieldName\n" . print_r(array('update-params' => $updateParams, 'update-result' => $update, 'getsingle-params' => $checkParams, 'getsingle-result' => $checkEntity, 'expected entity' => $entity), TRUE)); } $baoObj->deleteTestObjects($baoString); $baoObj->free();