Skip to content
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

Fix #196: Enable encryption in unit tests #197

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

romanstrobl
Copy link
Member

No description provided.

@romanstrobl romanstrobl added the enhancement New feature or request label Jun 25, 2024
@romanstrobl romanstrobl self-assigned this Jun 25, 2024
@@ -56,7 +58,8 @@ class AttachmentRestClientTest {
private UserDataStoreRestClient restClient;

@BeforeAll
void initRestClient() throws Exception {
void initTests() throws Exception {
Security.addProvider(new BouncyCastleProvider());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may move the initialization of the provider into a static constructor in the SpringBootApplication class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let's handle this separately, if required.

@romanstrobl romanstrobl merged commit 38ec6b2 into develop Jun 26, 2024
3 checks passed
@romanstrobl romanstrobl deleted the issues/196-encryption-tests branch June 26, 2024 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants