projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Test generated examples
[civicrm-core.git]
/
api
/
v3
/
examples
/
PriceSet
/
Get.php
diff --git
a/api/v3/examples/PriceSet/Get.php
b/api/v3/examples/PriceSet/Get.php
index b5468e8277c4500fe50ef7ec387a6152a6af5813..7be052caa0e62fb15a2b904cd49c82608fea3abb 100644
(file)
--- a/
api/v3/examples/PriceSet/Get.php
+++ b/
api/v3/examples/PriceSet/Get.php
@@
-19,7
+19,8
@@
function price_set_get_example() {
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
$errorCode = $e->getErrorCode();
$errorData = $e->getExtraParams();
return array(
- 'error' => $errorMessage,
+ 'is_error' => 1,
+ 'error_message' => $errorMessage,
'error_code' => $errorCode,
'error_data' => $errorData,
);
'error_code' => $errorCode,
'error_data' => $errorData,
);
@@
-50,6
+51,7
@@
function price_set_get_expectedresult() {
'extends' => '2',
'is_quick_config' => '1',
'is_reserved' => '1',
'extends' => '2',
'is_quick_config' => '1',
'is_reserved' => '1',
+ 'min_amount' => 0,
'entity' => array(),
),
),
'entity' => array(),
),
),