wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
839 stars 783 forks source link

Implement integration test for getting Custom Policies of API Revisions #13464

Closed thisaltennakoon closed 2 months ago

thisaltennakoon commented 6 months ago

Fix https://github.com/wso2-enterprise/wso2-apim-internal/issues/5811

This PR adds an integration test to cover the fix(https://github.com/wso2/carbon-apimgt/pull/12373) implemented to solve the issue when trying to get policies of API revisions.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 23.25%. Comparing base (ad087e2) to head (12d359c). Report is 96 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #13464 +/- ## ============================================ - Coverage 24.29% 23.25% -1.04% + Complexity 1239 1175 -64 ============================================ Files 254 254 Lines 11489 11495 +6 Branches 1200 1200 ============================================ - Hits 2791 2673 -118 - Misses 8671 8796 +125 + Partials 27 26 -1 ``` | [Flag](https://app.codecov.io/gh/wso2/product-apim/pull/13464/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/product-apim/pull/13464/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `23.25% <ø> (-1.04%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 23.25%. Comparing base (ad087e2) to head (12d359c). Report is 152 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #13464 +/- ## ============================================ - Coverage 24.29% 23.25% -1.04% + Complexity 1239 1175 -64 ============================================ Files 254 254 Lines 11489 11495 +6 Branches 1200 1200 ============================================ - Hits 2791 2673 -118 - Misses 8671 8796 +125 + Partials 27 26 -1 ``` | [Flag](https://app.codecov.io/gh/wso2/product-apim/pull/13464/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | Coverage Δ | | |---|---|---| | [integration_tests](https://app.codecov.io/gh/wso2/product-apim/pull/13464/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `23.25% <ø> (-1.04%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.