[Improvement][API] add PageInfo UT
Purpose of the pull request
Add unit tests to improve code quality and robustness
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 38.56%. Comparing base (
e498116) to head (e722a05).
:exclamation: Current head e722a05 differs from pull request most recent head 7a669b5. Consider uploading reports for the commit 7a669b5 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## dev #15622 +/- ##
=========================================
Coverage 38.56% 38.56%
- Complexity 4788 4790 +2
=========================================
Files 1316 1316
Lines 45043 45043
Branches 4823 4823
=========================================
+ Hits 17370 17372 +2
+ Misses 25781 25780 -1
+ Partials 1892 1891 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Quality Gate passed
Issues
5 New issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code