CRM-14043 - cid=0 contribution form giving contribution to logged in user
[civicrm-core.git] / api / v3 / examples / MailingGroupSubscribe.php
index 99821a9f64b5742c75adbfc34b4fa0aa37d13ed9..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' => 'fcf4e727e2a34e5d',
-      'is_error' => 0,
+      '1' => array(
+          'contact_id' => '3',
+          'subscribe_id' => '1',
+          'hash' => '67eac7789eaee00',
+        ),
     ),
 );