-
Notifications
You must be signed in to change notification settings - Fork 149
Support GitHub Auth method #751
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
base: main
Are you sure you want to change the base?
Conversation
|
||
@Nested | ||
@TestPropertySource(properties = { "spring.cloud.vault.github.token=gho_00000000-0000-0000-0000-000000000000" }) | ||
class GitHubTokenSuppliedByPropertyTest { |
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.
For the time being, please avoid using @Nested
test classes. Instead, rewrite these to config classes and test these via methods in the main test class.
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.
I rewrote unit tests with JUnit 4 inspired by VaultBootstrapperIntegrationTests
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.
This unit test is now migrated to JUnit5 as it is supported now in spring-cloud-vault
Fixes spring-cloudgh-727 Signed-off-by: Issam El-atif <issam.elatif@gmail.com>
Signed-off-by: Issam El-atif <issam.elatif@gmail.com>
Signed-off-by: Issam El-atif <issam.elatif@gmail.com>
Fixes gh-727