revert 20476
[civicrm-core.git] / tests / phpunit / api / v4 / DataSets / ConformanceTest.json
index 3d7918ecba1979831bb8ec53bdbe1bf98164c641..0b5bf5597c0779296263ea6df8b4b7ad676acc00 100644 (file)
@@ -24,6 +24,7 @@
   "CustomGroup": [
     {
       "name": "MyFavoriteThings",
+      "title": "MyFavoriteThings",
       "extends": "Contact"
     }
   ],
       "financial_type_id:name": "Donation",
       "min_contribution": "10.00"
     }
+  ],
+  "MembershipType": [
+    {
+      "name": "General",
+      "period_type" : "fixed",
+      "financial_type_id:name": "Donation",
+      "duration_unit" : "month",
+      "member_of_contact_id" : "@ref test_contact_1.id"
+    }
+  ],
+  "ContributionPage": [
+    {
+      "name": "General"
+    }
+  ],
+  "MembershipType": [
+    {
+      "domain_id": "1",
+      "name": "General",
+      "description": "Regular annual membership.",
+      "member_of_contact_id": "1",
+      "financial_type_id": "2",
+      "minimum_fee": "100.000000000",
+      "duration_unit": "year",
+      "duration_interval": "2",
+      "period_type": "rolling",
+      "relationship_type_id": [
+        "7"
+      ],
+      "relationship_direction": [
+        "b_a"
+      ],
+      "visibility": "Public",
+      "weight": "1",
+      "auto_renew": "0",
+      "is_active": "1"
+    }
+  ],
+  "Membership": [
+    {
+      "membership_type_id:name": "General",
+      "contact_id" : "@ref test_contact_1.id",
+      "status_id:name" : "Pending"
+    }
   ]
 }