-
-
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
dev/core#2079 [REF] clean up call to apiQuery #18664
Conversation
(Standard links)
|
This fixes 1) fixes apiQuery to be called statically as it is a static function 2) casts results directly to detail This is the copy & paste source of civicrm#18664 I guess....
This fixes 1) fixes apiQuery to be called statically as it is a static function 2) casts results directly to detail This is the copy & paste source of civicrm#18664 I guess....
@eileenmcnaughton I tried finding a unit test that covered this but couldn't |
@seamuslee001 you are right - that class had no cover (& is only called from Member_label despite it's name). I've added a basic 'no error' test to at least ensure this code is passed through. |
This fixes a few things 1) fixes apiQuery to be called statically as it is a static function 2) casts results directly to detail 3) removes unnused variable
ug - some sort of caching in jenkins - added a couple of lines to try to find it. |
@seamuslee001 ok - the test is passing now |
changes seem fine now merging |
Overview
This fixes a few things
Before
After
Technical Details
The query object that is instantiated is not used in the static function, which instantiates it's own
Comments