summaryrefslogtreecommitdiffstats
path: root/examples/examples-grpc/src/test/java
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-01-25 14:13:11 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-25 14:13:11 +0000
commit64b4dc2cb6b13bc6fe26d1a46c7840a6131dcb0a (patch)
tree726cb9676d58dfb3269994d96d2f39a60a8327b6 /examples/examples-grpc/src/test/java
parent5cd5e12a432732068c7c624c5ab1d7bf58e85b3d (diff)
parent632899642b6a1d1489a0b96932c9c38863a53a26 (diff)
Merge "Add TOSCA policy status header field to APEX event create CLI"
Diffstat (limited to 'examples/examples-grpc/src/test/java')
-rw-r--r--examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/TestApexGrpcExample.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/TestApexGrpcExample.java b/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/TestApexGrpcExample.java
index a197432ba..f5a51a7fe 100644
--- a/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/TestApexGrpcExample.java
+++ b/examples/examples-grpc/src/test/java/org/onap/policy/apex/examples/grpc/TestApexGrpcExample.java
@@ -1,7 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2020 Nordix Foundation.
- * Modifications Copyright (C) 2020-2021 Bell Canada. All rights reserved.
+ * Modifications Copyright (C) 2020-2022 Bell Canada. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ public class TestApexGrpcExample {
Files.readString(Paths.get("src/main/resources/examples/events/APEXgRPC/CDSResponseStatusEvent.json"))
.replaceAll("\r", "");
// Both LogEvent and CDSResponseStatusEvent are generated from the final state in the policy
- assertThat(responseEntity).contains(expectedStatusEvent + expectedLoggedOutputEvent);
+ assertThat(responseEntity).contains(expectedStatusEvent);
+ assertThat(responseEntity).contains(expectedLoggedOutputEvent);
}
-}
+} \ No newline at end of file