-
Notifications
You must be signed in to change notification settings - Fork 96
FEATURE: Implement ACL Binding Rule "Read" Endpoint #550
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
FEATURE: Implement ACL Binding Rule "Read" Endpoint #550
Conversation
|
@marcin-krystianc I have updated the test |
Consul.Test/BindingRuleTest.cs
Outdated
| await _client.AuthMethod.Create(authMethodEntry); | ||
| var authMethodsResponse = await _client.AuthMethod.List(); | ||
| var existingAuthMethod = authMethodsResponse.Response?.FirstOrDefault(); | ||
| Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing"); |
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 remove Skip.If and make the test non-skippable by using the [Fact] attribute instead of [SkippableFact]. Since the auth method is created by us, a null auth method should not be expected.
| Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing"); |
Consul.Test/BindingRuleTest.cs
Outdated
| var authMethodsResponse = await _client.AuthMethod.List(); | ||
| var existingAuthMethod = authMethodsResponse.Response?.FirstOrDefault(); | ||
|
|
||
| Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing"); |
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.
| Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing"); |
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.
Done
|
Perfect, thank you! |
Description
Related Issues
Addresses Issue: #480
Additional Context
Checklist
Please make sure to check the following before submitting your pull request: