-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Correct the test semantics of the test case in ItemSetControllerTest #4823
Conversation
# Conflicts: # README.md
…SetControllerTest
Codecov Report
@@ Coverage Diff @@
## master #4823 +/- ##
============================================
+ Coverage 48.15% 48.24% +0.08%
- Complexity 1719 1721 +2
============================================
Files 346 346
Lines 10777 10777
Branches 1075 1075
============================================
+ Hits 5190 5199 +9
+ Misses 5265 5256 -9
Partials 322 322 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
How about we use restTemplate and add try catch block in the test codes? |
Yes, the code has been adjusted |
.../src/test/java/com/ctrip/framework/apollo/adminservice/controller/ItemSetControllerTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/com/ctrip/framework/apollo/adminservice/controller/ItemSetControllerTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/com/ctrip/framework/apollo/adminservice/controller/ItemSetControllerTest.java
Outdated
Show resolved
Hide resolved
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.
LGTM
What's the purpose of this PR
Correct the test semantics of the test case in
ItemSetControllerTest
.motivation
RestTemplate
.noErrorHandlerRestTemplate
in other places.