aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-02-05 16:17:42 -0500
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-02-05 17:09:50 -0500
commit648bda5b3dd53aab7846acbce7b6d27149cca973 (patch)
tree64f006011cb0bca08734ab367f11128ee92558cd /src/test
parent03a6609e1ffb981e7222fe938b6dd6337b287b87 (diff)
BugFix:Log info Null XFromAppId &ServiceInstanceId
Issue-ID: LOG-688 Change-Id: I9599d35f9971c0607373a87596c80f8c3498c8f3 Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/onap/logging_analytics/pomba/pomba_aai_context_builder/RestUtilTest.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/java/org/onap/logging_analytics/pomba/pomba_aai_context_builder/RestUtilTest.java b/src/test/java/org/onap/logging_analytics/pomba/pomba_aai_context_builder/RestUtilTest.java
index 969e567..a7be281 100644
--- a/src/test/java/org/onap/logging_analytics/pomba/pomba_aai_context_builder/RestUtilTest.java
+++ b/src/test/java/org/onap/logging_analytics/pomba/pomba_aai_context_builder/RestUtilTest.java
@@ -87,23 +87,6 @@ public class RestUtilTest {
}
@Test
- public void testValidateXFromAppId() {
- // Missing ServiceInstanceId or it is null
- try {
- RestUtil.validateXFromAppId("");
- } catch (AuditException e) {
- assertTrue(e.getMessage().contains("Invalid request URL, missing parameter: X-FromAppId"));
- }
-
- try {
- RestUtil.validateXFromAppId(null);
- } catch (AuditException e) {
- assertTrue(e.getMessage().contains("Invalid request URL, missing parameter: X-FromAppId"));
- }
-
- }
-
- @Test
public void testIsEmptyJson() {
assertTrue(RestUtil.isEmptyJson("{}"));
assertTrue(!RestUtil.isEmptyJson("{Not Empty}"));