summaryrefslogtreecommitdiffstats
path: root/aai-els-onap-logging/src/test
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-05-19 10:17:22 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-05-19 10:17:22 +0200
commit17cf0fc2bd8ead53beadafe0fda7605fbb27f618 (patch)
treee14d91b03f48ee0fee0cf3f3684e6edd095db7f9 /aai-els-onap-logging/src/test
parent7489da3c14975bfe4b53b8e6dc4a3438cc29bb97 (diff)
ErrorLogHelper is not parsing all error codes
- do not parse error codes as int Issue-ID: AAI-3853 Change-Id: I4cad636c58fbe14f59aecc8692f7c96d50686d18 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-els-onap-logging/src/test')
-rw-r--r--aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java b/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java
index ea9d44b9..73890a0a 100644
--- a/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java
+++ b/aai-els-onap-logging/src/test/java/org/onap/aai/logging/ErrorLogHelperTest.java
@@ -265,7 +265,7 @@ public class ErrorLogHelperTest {
Info info = ErrorLogHelper.getRestApiInfoResponse(aaiExceptionsMap);
ErrorMessage errorMessage = info.getErrorMessages().get(0);
assertEquals("INF0001", errorMessage.getMessageId());
- assertEquals("Internal Error (msg=%1) (ec=%2)", errorMessage.getText());
+ assertEquals("Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (ec=%4)", errorMessage.getText());
assertEquals("Successful health check:OK", errorMessage.getVariables().get(0));
assertEquals("0.0.0002", errorMessage.getVariables().get(1));
}