diff options
author | Paweł Baniewski <pawel.baniewski@nokia.com> | 2020-06-18 09:32:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-06-18 09:32:28 +0000 |
commit | 5b9acaf137309691499a1938f8cb57009fdc1720 (patch) | |
tree | dc5da3c1216c890414e08a776b5997cc15fd13c9 /certServiceClient | |
parent | 81d42dfeec4b638c7b7d8f201c6f677477f8226f (diff) | |
parent | fac019c1b460507cc17b16b165ad7ab3a4ffcc1d (diff) |
Merge "Modify UT after adding output type parameter"
Diffstat (limited to 'certServiceClient')
-rw-r--r-- | certServiceClient/src/test/java/org/onap/aaf/certservice/client/configuration/factory/ClientConfigurationFactoryTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/certServiceClient/src/test/java/org/onap/aaf/certservice/client/configuration/factory/ClientConfigurationFactoryTest.java b/certServiceClient/src/test/java/org/onap/aaf/certservice/client/configuration/factory/ClientConfigurationFactoryTest.java index bf4bc3db..7239b21a 100644 --- a/certServiceClient/src/test/java/org/onap/aaf/certservice/client/configuration/factory/ClientConfigurationFactoryTest.java +++ b/certServiceClient/src/test/java/org/onap/aaf/certservice/client/configuration/factory/ClientConfigurationFactoryTest.java @@ -44,6 +44,7 @@ public class ClientConfigurationFactoryTest { private final String OUTPUT_PATH_INVALID = "/opt//app/osaaf"; private final String OUTPUT_TYPE_VALID = "JKS"; private final String OUTPUT_TYPE_INVALID = "JKSS"; + private final String OUTPUT_TYPE_DEFAULT = "P12"; private EnvsForClient envsForClient = mock(EnvsForClient.class); @@ -83,6 +84,7 @@ public class ClientConfigurationFactoryTest { assertThat(configuration.getRequestTimeout()).isEqualTo(Integer.valueOf(TIME_OUT_VALID)); assertThat(configuration.getCertsOutputPath()).isEqualTo(OUTPUT_PATH_VALID); assertThat(configuration.getUrlToCertService()).isEqualTo(URL_TO_CERT_SERVICE_DEFAULT); + assertThat(configuration.getOutputType()).isEqualTo(OUTPUT_TYPE_DEFAULT); } @Test |