Revert changes to test and re-generate example from better test
[civicrm-core.git] / api / v3 / examples / Contact / GetActions.php
index d2c85713ed1ceecc4735db3475a133f495667b2a..585e5e8dca83137190c6126b0b619d2837f1ad06 100644 (file)
@@ -40,33 +40,28 @@ function contact_getactions_expectedresult() {
   $expectedResult = array(
     'is_error' => 0,
     'version' => 3,
-    'count' => 25,
+    'count' => 20,
     'values' => array(
       '0' => 'create',
       '1' => 'delete',
       '2' => 'duplicatecheck',
-      '3' => 'example_action1',
-      '4' => 'example_action2',
-      '5' => 'get',
-      '6' => 'getactions',
-      '7' => 'getcount',
-      '8' => 'getfield',
-      '9' => 'getfields',
-      '10' => 'getlist',
-      '11' => 'getoptions',
-      '12' => 'getquick',
-      '13' => 'getrefcount',
-      '14' => 'getsingle',
-      '15' => 'getvalue',
-      '16' => 'merge',
-      '17' => 'proximity',
-      '18' => 'replace',
-      '19' => 'setvalue',
-      '20' => 'type_create',
-      '21' => 'type_delete',
-      '22' => 'type_get',
-      '23' => 'update',
-      '24' => 'validate',
+      '3' => 'get',
+      '4' => 'getactions',
+      '5' => 'getcount',
+      '6' => 'getfield',
+      '7' => 'getfields',
+      '8' => 'getlist',
+      '9' => 'getoptions',
+      '10' => 'getquick',
+      '11' => 'getrefcount',
+      '12' => 'getsingle',
+      '13' => 'getvalue',
+      '14' => 'merge',
+      '15' => 'proximity',
+      '16' => 'replace',
+      '17' => 'setvalue',
+      '18' => 'update',
+      '19' => 'validate',
     ),
     'deprecated' => array(
       'getquick' => 'The "getquick" action is deprecated in favor of "getlist".',