*/
class Membership extends PHPUnit_Framework_Testcase {
/**
- * Helper function to create membership type
+ * Helper function to create membership type.
*/
public function createMembershipType() {
$orgId = Contact::createOrganisation();
}
/**
- * Helper function to create membership block for contribution page
+ * Helper function to create membership block for contribution page.
+ * @param $membershipType
+ * @param $contributionPageId
+ * @return $this
*/
public function createMembershipBlock($membershipType, $contributionPageId) {
$param = array(
}
/**
- * Helper function to delete the membership block
+ * Helper function to delete the membership block.
+ * @param $blcokId
*/
public function deleteMembershipBlock($blcokId) {
$dao = new CRM_Member_DAO_MembershipBlock();
$dao->delete();
}
}
+
}