wso2 / carbon-apimgt

Apache License 2.0
165 stars 620 forks source link

fix for migration issue for basic auth apis and test case #12338

Closed GihanAyesh closed 3 months ago

GihanAyesh commented 3 months ago

Fix for issue https://github.com/wso2/api-manager/issues/2656 Handle the null situation and also added the test case.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 47.40%. Comparing base (df47529) to head (003a7d9). Report is 42 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12338 +/- ## ============================================ + Coverage 42.22% 47.40% +5.18% - Complexity 0 4135 +4135 ============================================ Files 1840 1840 Lines 136407 136406 -1 Branches 19734 19735 +1 ============================================ + Hits 57598 64667 +7069 + Misses 71882 64118 -7764 - Partials 6927 7621 +694 ``` | [Flag](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12338/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/carbon-apimgt/pull/12338/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `42.19% <ø> (+6.56%)` | :arrow_up: | | [unit_tests](https://app.codecov.io/gh/wso2/carbon-apimgt/pull/12338/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wso2) | `20.44% <ø> (+<0.01%)` | :arrow_up: | 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.