-
Notifications
You must be signed in to change notification settings - Fork 274
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
Development
: Reduce redundant autowires in server tests
#8996
Development
: Reduce redundant autowires in server tests
#8996
Conversation
Development
: Improve test code qualityDevelopment
: Reduce redundant autowires in server tests
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.
Servertests are still successful. Looks good to me
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.
Tests run successfully both locally and on github. Code LGTM
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.
Thanks! The inconsistent names (repository
vs repo
) were always a problem when extending test classes, this got at least a bit easier now.
Checklist
General
Motivation and Context
For testing we already use base classes that autowire some commonly used services. However, we often autowire the required service again in the integration test.
Description
This PR removes a lot of duplicated / unnecessary autowires.
Review Progress
Code Review