CRM-14043 - cid=0 contribution form giving contribution to logged in user
[civicrm-core.git] / api / v3 / examples / MailingGroupSubscribe.php
index 23c4e8c9df0929b3a16dc2d440a40a26d1631fdd..ef287f111ddda481e3e895face0f18129c30d1c6 100644 (file)
@@ -34,12 +34,14 @@ function mailing_group_subscribe_expectedresult(){
   $expectedResult = array(
   'is_error' => 0,
   'version' => 3,
-  'count' => 4,
+  'count' => 1,
+  'id' => 1,
   'values' => array(
-      'contact_id' => '3',
-      'subscribe_id' => '1',
-      'hash' => 'bf4d724dbbb38c0c',
-      'is_error' => 0,
+      '1' => array(
+          'contact_id' => '3',
+          'subscribe_id' => '1',
+          'hash' => '67eac7789eaee00',
+        ),
     ),
 );