-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add getUserSyncs function in clickforceBidAdapter #2383
Conversation
Code coverage on this adapter is zero because it has no tests! There's a couple of other issues I see: |
Hi @mike-chowla , Sorry about that (1) Responses are not coming back gzipped
(2) The test parameters from the original adapter submission are not returning an ad
Thank you. |
The code itself looks fine but since there are no tests, it doesn't meet the 80% coverage requirement. The initial adapter PR should have been rejected because there are no tests. |
The issues is begin our adserver update new version. so, at initial adapter PR test is work. |
There should be a unit file that gets to at least 80% code coverage on your adapter. Here's an example: |
HI @mike-chowla we have a unit file now, Please check it. Thanks |
Thanks for adding the test coverage file. You are just shy of the 80% mark. If you add any test for getUserSyncs(), you should get there. Also, I never saw the updated test parameters. If you can get these to me tomorrow (not too late Pacific time), I'll take another pass and we should be able to get you into version 1.9 |
@mike-chowla |
Yes, it's the only function missing coverage and adding one should get you above the 80% threshold |
The test parameters already updated. And I have add a getUserSyncs test in the test coverage file. Please check it. Thank you very much |
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.
LGTM.
Code coverage is now 100%!
ok. I will change a campaign for the test ad. thank you very much. and the Access-Control-Allow-Origin I will fix that. before next monday |
* add getUserSyncs function * bug fix * add test spec * fix of docment format * fix of end line * add getUserSyncs function into test file and updated test parameters
Type of change
Description of change
Add getUserSyncs function in the adapters