api example, hack id back to 1 to compensate for poor test cleanup
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 27 Jan 2015 18:40:26 +0000 (07:40 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 27 Jan 2015 18:40:26 +0000 (07:40 +1300)
api/v3/examples/Contribution/Create.php

index a1d467c21f29a5112536634b1edfc15f9fb72c98..7d159579f2db45df68f21c8ab2fbd78a0802100c 100644 (file)
@@ -14,7 +14,7 @@
  */
 function contribution_create_example() {
   $params = array(
-    'contact_id' => 32,
+    'contact_id' => 1,
     'receive_date' => '20120511',
     'total_amount' => '100',
     'financial_type_id' => 1,
@@ -59,7 +59,7 @@ function contribution_create_expectedresult() {
     'values' => array(
       '1' => array(
         'id' => '1',
-        'contact_id' => '32',
+        'contact_id' => '1',
         'financial_type_id' => '1',
         'contribution_page_id' => '1',
         'payment_instrument_id' => '4',