-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
minor test cleanup #31760
base: master
Are you sure you want to change the base?
minor test cleanup #31760
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
// The parent tearDown will delete the linked option group (gender) | ||
// if we don't do it more carefully here. | ||
CRM_Core_DAO::executeQuery('UPDATE civicrm_custom_field f | ||
INNER JOIN civicrm_option_group g ON g.id = option_group_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this join for? Doesn't seem to be used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's an inner join - aka a where
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I still think it's doing the same thing as UPDATE civicrm_custom_field SET option_group_id = NULL
tho
No description provided.