Skip to content
Snippets Groups Projects
Commit 60ebf313 authored by Tim Otten's avatar Tim Otten
Browse files

Merge pull request #2002 from totten/4.4-actionschedule-groupid

SyntaxConformanceTest - Skip single-value-alter for ActionSchedule.group_id
parents 2c5d676e 03fe1a00
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment