dev/membership#18 Enhance parameters for Job.process_membership
Created by: mattwire
This adds some parameters to control the Job.process_membership API/scheduled job per gitlab issues.
Cannot control behaviour of Job.process_membership.
Can control Job.process_membership:
- exclude_test_memberships: Exclude test memberships from calculations (default = TRUE)
- only_active_membership_types: Exclude disabled membership types from calculations (default = TRUE)
- exclude_membership_status_ids: Default: Exclude Pending, Cancelled, Expired. Deceased will always be excluded
@michaelmcandrew Can you write a unit test to validate the new parameters? There are a number of tests on Job.process_membership in
tests/phpunit/api/v3/JobTest.php which could be extended/copied.