-
Notifications
You must be signed in to change notification settings - Fork 278
Remove duplicate MetaStoreManagerFactory mocks #2023
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
Remove duplicate MetaStoreManagerFactory mocks #2023
Conversation
@Override | ||
public Map<String, PrincipalSecretsResult> bootstrapRealms( | ||
Iterable<String> realms, RootCredentialsSet rootCredentialsSet) { | ||
throw new NotImplementedException("Bootstrapping realms is not supported"); |
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.
was throwing this exception the reason why some tests where using createMockMetaStoreManagerFactory()
instead of the Mock in the field?
or just left-over code without a particular reason?
sorry in case i am missing something obvious
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.
I do not see any test relying on this exception, so removing this piece of code LGTM.
also rename the field for clarity and consistency
267dd57
to
3279432
Compare
@Override | ||
public Map<String, PrincipalSecretsResult> bootstrapRealms( | ||
Iterable<String> realms, RootCredentialsSet rootCredentialsSet) { | ||
throw new NotImplementedException("Bootstrapping realms is not supported"); |
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.
I do not see any test relying on this exception, so removing this piece of code LGTM.
also rename the field for clarity and consistency