-
Notifications
You must be signed in to change notification settings - Fork 218
fix: replace label selector mock server test with IT #1375
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
Conversation
Is what the previous test was covering covered in other tests? |
@Version("v1") | ||
@ShortNames("lst") | ||
public class LabelSelectorTestCustomResource | ||
extends CustomResource<Void, LabelSelectorTestCustomResourceStatus> |
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.
Why create a status class when it's not used anywhere and empty?
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.
Good point, fixed. (I think I had an issue with this in the past when status was void, but not anymore)
b1349ba
to
fcc4121
Compare
Yes it should. |
fcc4121
to
7fc0ee8
Compare
Kudos, SonarCloud Quality Gate passed! |
Note that the former test was doing actually more than it should be. So this is a replacement but also change in scope.