X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fclamp%2Fclds%2Fit%2Fconfig%2FCldsReferencePropertiesItCase.java;h=65aa9b44f23407c1eeecf8335f7049edb52c7792;hb=aef5d4ba9128c0cc4418b6dd9e12533b3d76bc84;hp=630e8c028d6cbf1ea3a47606e94f102ccaa84ba3;hpb=95d45aa4490b09f7ddf229141501befa5a0d3d55;p=clamp.git diff --git a/src/test/java/org/onap/clamp/clds/it/config/CldsReferencePropertiesItCase.java b/src/test/java/org/onap/clamp/clds/it/config/CldsReferencePropertiesItCase.java index 630e8c02..65aa9b44 100644 --- a/src/test/java/org/onap/clamp/clds/it/config/CldsReferencePropertiesItCase.java +++ b/src/test/java/org/onap/clamp/clds/it/config/CldsReferencePropertiesItCase.java @@ -101,11 +101,12 @@ public class CldsReferencePropertiesItCase { */ @Test public void testGetFileContent() throws IOException { - String content = refProp.getFileContent("sdc.decode.service_ids"); - assertEquals("{}", content); + String location = "{\n\t\"DC1\": \"Data Center 1\",\n\t\"DC2\": \"Data Center 2\",\n\t\"DC3\": \"Data Center 3\"\n}\n"; + String content = refProp.getFileContent("ui.location.default"); + assertEquals(location, content); // Test composite key - content = refProp.getFileContent("sdc.decode", "service_ids"); - assertEquals("{}", content); + content = refProp.getFileContent("ui.location", "default"); + assertEquals(location, content); } @Test