diff options
author | Vitaly Takmazov | 2022-12-08 10:37:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-08 10:37:23 +0300 |
commit | ccdb57fa3932785811faf9dd42d5998e4f1ea14b (patch) | |
tree | ceb012324e7374e758e9fbfab8836ba3ae1164b9 /src/test/java/com/juick/config/TestActivityConfiguration.java | |
parent | cfc787394a506459c71b4a124149e5d6de7690a8 (diff) |
Spring beans should not be public
Diffstat (limited to 'src/test/java/com/juick/config/TestActivityConfiguration.java')
-rw-r--r-- | src/test/java/com/juick/config/TestActivityConfiguration.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/com/juick/config/TestActivityConfiguration.java b/src/test/java/com/juick/config/TestActivityConfiguration.java index d77b2d52..3dc72e34 100644 --- a/src/test/java/com/juick/config/TestActivityConfiguration.java +++ b/src/test/java/com/juick/config/TestActivityConfiguration.java @@ -27,8 +27,9 @@ import org.springframework.core.io.Resource; public class TestActivityConfiguration { @Value("classpath:test.p12") Resource keystoreFile; + @Bean - public KeystoreManager testKeystoreManager() { + KeystoreManager testKeystoreManager() { return new KeystoreManager(keystoreFile, "secret"); } } |