X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2Fexamples%2FGroupContact%2FDelete.php;h=f0118e15e9d185eadf7c82d675938fa1c70643f1;hb=831d4f8f151ab9d0aa8960fc7cb8f22905db1149;hp=8fe66c2d5924017104845803940ea6d13ea7f485;hpb=4a50eb23286d691cfe9f676d12081d9b9a962dc9;p=civicrm-core.git diff --git a/api/v3/examples/GroupContact/Delete.php b/api/v3/examples/GroupContact/Delete.php index 8fe66c2d59..f0118e15e9 100644 --- a/api/v3/examples/GroupContact/Delete.php +++ b/api/v3/examples/GroupContact/Delete.php @@ -1,6 +1,6 @@ getErrorCode(); $errorData = $e->getExtraParams(); return array( - 'error' => $errorMessage, + 'is_error' => 1, + 'error_message' => $errorMessage, 'error_code' => $errorCode, 'error_data' => $errorData, ); @@ -50,11 +51,10 @@ function group_contact_delete_expectedresult() { return $expectedResult; } -/** +/* * This example has been generated from the API test suite. -* The test that created it is called -* testDeletePermanent -* and can be found in +* The test that created it is called "testDeletePermanent" +* and can be found at: * https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/api/v3/GroupContactTest.php * * You can see the outcome of the API tests at