-
-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make period_type mandatory for MembershipType #18395
Conversation
(Standard links)
|
style issue |
409e699
to
5748e72
Compare
Hmm - the failure changes with #18365 merged as the test no longer uses the same setup - I will see if I can get that merged first |
@eileenmcnaughton Test failures relate |
I'm going to close this for now because it's blocked until I can resolve the test failures - but it needs #18365 I don't want to clog up the review queue with PRs that are not reviewable so I'll re-open this when the blocking-issues are solved |
@eileenmcnaughton needs rebase |
5748e72
to
6aee147
Compare
@colemanw rebased now - let's see how it goes.... |
This converts the test set up to use the api and also does some mild date clean up on the form. Supports civicrm#18395
OK - this cleanup should address #18413 |
This converts the test set up to use the api and also does some mild date clean up on the form. Supports civicrm#18395
This converts the test set up to use the api and also does some mild date clean up on the form. Supports civicrm#18395
This converts the test set up to use the api and also does some mild date clean up on the form. Supports civicrm#18395
We have a test ensuring period_type is mandatory at the api level. However, it isn't for api v4 - the error is a different issue (handling of pseudoconstants when mapping v3 to v4). This fixes that separate issue & declares required to re-fix for v4
6aee147
to
0524826
Compare
This is passing now |
Looks fine to me merging |
Overview
We have a test ensuring period_type is mandatory at the api level. However, it isn't for api
v4 - the error is a different issue (handling of pseudoconstants when mapping v3 to v4). This
fixes that separate issue & declares required to re-fix for v4
Before
period_type not declared as mandatory (but has a db default of rolling). In apiv3 & form layer it is mandatory, but not apiv4
After
period_type declared as mandatory (but has a db default of rolling), required in apiv3, v4, form layer
Technical Details
Test came from https://issues.civicrm.org/jira/browse/CRM-20010 - I think re-reading this it is probably right to make it mandatory & use the default less
Comments
Came from test issues in #18388