X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=api%2Fv3%2Fexamples%2FUFJoinCreate.php;h=a22f0b1249d23a0328b009cb0e3b7a7a5b2c506b;hb=ee600d6f0ccee2a61a7b6e3e89c29d01e004c673;hp=97134fe9ce70a7790850ec61f358c47a4e78b749;hpb=53ca8fd7dc06f67447f5ea79a9f3c370dba10749;p=civicrm-core.git diff --git a/api/v3/examples/UFJoinCreate.php b/api/v3/examples/UFJoinCreate.php index 97134fe9ce..a22f0b1249 100644 --- a/api/v3/examples/UFJoinCreate.php +++ b/api/v3/examples/UFJoinCreate.php @@ -4,7 +4,7 @@ */ function uf_join_create_example(){ -$params = array( +$params = array( 'module' => 'CiviContribute', 'entity_table' => 'civicrm_contribution_page', 'entity_id' => 1, @@ -25,13 +25,13 @@ $params = array( */ function uf_join_create_expectedresult(){ - $expectedResult = array( + $expectedResult = array( 'is_error' => 0, 'version' => 3, 'count' => 1, 'id' => 0, - 'values' => array( - '0' => array( + 'values' => array( + '0' => array( 'id' => '1', 'is_active' => '1', 'module' => 'CiviContribute',