Skip to content
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

Mobian RTD Module: remove reference to garm in output of mobian brand-safety #12014

Merged

Conversation

ehb-mtk
Copy link
Contributor

@ehb-mtk ehb-mtk commented Jul 22, 2024

Type of change

  • Refactoring (no functional changes, no api changes)

Description of change

Our product team has asked us not to describe the given output as being created by GARM.

I also removed a loop that used to be necessary to compute the risk from the API output but is now redundant because the API output returns the risk directly.

@@ -23,70 +23,63 @@ describe('Mobian RTD Submodule', function () {
ajaxStub.restore();
});

it('should return no_risk when server responds with garm_no_risk', function () {
it('should return risk level when server responds with garm_risk', function () {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the diff on the tests looks huge, but isn't -- we're just removing the testing of the old garm_x_risk since we always expect garm_risk coming in.

@patmmccann patmmccann self-assigned this Jul 22, 2024
@patmmccann
Copy link
Collaborator

i feel your pain with this make work, approving

@patmmccann patmmccann merged commit 996b235 into prebid:master Jul 22, 2024
5 of 6 checks passed
spotxslagle added a commit that referenced this pull request Jul 23, 2024
* remove reference to garm in output of mobian brand-safety (#12014)

* Update PULL_REQUEST_TEMPLATE.md (#12019)

* Reading pmp from ortb2Imp object (#12020)

---------

Co-authored-by: ehb-mtk <[email protected]>
Co-authored-by: Patrick McCann <[email protected]>
Co-authored-by: kapil-tuptewar <[email protected]>
spotxslagle added a commit that referenced this pull request Jul 23, 2024
* remove reference to garm in output of mobian brand-safety (#12014)

* Update PULL_REQUEST_TEMPLATE.md (#12019)

* Reading pmp from ortb2Imp object (#12020)

---------

Co-authored-by: ehb-mtk <[email protected]>
Co-authored-by: Patrick McCann <[email protected]>
Co-authored-by: kapil-tuptewar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants