-
Notifications
You must be signed in to change notification settings - Fork 5k
[TEST] increase coverage of environment service #15840
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
[TEST] increase coverage of environment service #15840
Conversation
3bf8a3c to
5ac23cd
Compare
5ac23cd to
60f1307
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #15840 +/- ##
============================================
+ Coverage 39.47% 39.54% +0.07%
- Complexity 5006 5015 +9
============================================
Files 1347 1347
Lines 45641 45641
Branches 4892 4892
============================================
+ Hits 18017 18050 +33
+ Misses 25691 25668 -23
+ Partials 1933 1923 -10 ☔ View full report in Codecov by Sentry. |
qingwli
left a comment
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.
+1
qingwli
left a comment
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.
Please fix code smell
assertEquals(
((List<Environment>) result.get(Constants.DATA_LIST)).size(), 0);
Swap these 2 arguments so they are in the correct order: expected value, actual value.
60f1307 to
4b96ee6
Compare
done |
|
qingwli
left a comment
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.
+1




Purpose of the pull request
increase coverage of environment service