summaryrefslogtreecommitdiffstats
path: root/prh-aai-client/src/test
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-12 21:43:29 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-12 21:43:29 +0000
commitfe084656d61212a7e4a5f6cc6f60b3eb6a146302 (patch)
tree94b7077f4a2ad0a0e4e469f39ffbbeb3cd220e21 /prh-aai-client/src/test
parented8fc543198ec2a878f7e4e2966fa66a6c4986a9 (diff)
parent3c2e8c9c4c32ad59be75a7500e628344c6dab5bf (diff)
Merge "Already added loading config for AAI and DMAAP"
Diffstat (limited to 'prh-aai-client/src/test')
-rw-r--r--prh-aai-client/src/test/java/org/onap/dcaegen2/services/service/config/AAIHttpClientConfigurationTest.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/prh-aai-client/src/test/java/org/onap/dcaegen2/services/service/config/AAIHttpClientConfigurationTest.java b/prh-aai-client/src/test/java/org/onap/dcaegen2/services/service/config/AAIHttpClientConfigurationTest.java
index a759aca5..76c2969a 100644
--- a/prh-aai-client/src/test/java/org/onap/dcaegen2/services/service/config/AAIHttpClientConfigurationTest.java
+++ b/prh-aai-client/src/test/java/org/onap/dcaegen2/services/service/config/AAIHttpClientConfigurationTest.java
@@ -36,21 +36,21 @@ public class AAIHttpClientConfigurationTest {
@BeforeAll
public static void init() {
- client = ImmutableAAIHttpClientConfiguration.builder()
- .aaiHost(AAI_HOST)
- .aaiHostPortNumber(PORT)
- .aaiProtocol(PROTOCOL)
- .aaiUserName(USER_NAME_PASSWORD)
- .aaiUserPassword(USER_NAME_PASSWORD)
- .aaiIgnoreSSLCertificateErrors(true)
- .build();
+ client = new ImmutableAAIHttpClientConfiguration.Builder()
+ .aaiHost(AAI_HOST)
+ .aaiHostPortNumber(PORT)
+ .aaiProtocol(PROTOCOL)
+ .aaiUserName(USER_NAME_PASSWORD)
+ .aaiUserPassword(USER_NAME_PASSWORD)
+ .aaiIgnoreSSLCertificateErrors(true)
+ .build();
}
@Test
public void testGetters_success() {
- Assertions.assertEquals(AAI_HOST,client.aaiHost());
+ Assertions.assertEquals(AAI_HOST, client.aaiHost());
Assertions.assertEquals(PORT, client.aaiHostPortNumber());
- Assertions.assertEquals(PROTOCOL,client.aaiProtocol());
+ Assertions.assertEquals(PROTOCOL, client.aaiProtocol());
Assertions.assertEquals(USER_NAME_PASSWORD, client.aaiUserName());
Assertions.assertEquals(USER_NAME_PASSWORD, client.aaiUserPassword());
Assertions.assertEquals(true, client.aaiIgnoreSSLCertificateErrors());