Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update scripts for docker-compose files
[nonrtric.git]
/
enrichment-coordinator-service
/
src
/
test
/
java
/
org
/
oransc
/
enrichment
/
ApplicationTest.java
diff --git
a/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
b/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
index
b2ec0b1
..
a863c10
100644
(file)
--- a/
enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
+++ b/
enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
@@
-170,6
+170,8
@@
class ApplicationTest {
JSONObject jsonObj = new JSONObject(resp.getBody());
jsonObj.remove("host");
JSONObject jsonObj = new JSONObject(resp.getBody());
jsonObj.remove("host");
+ assertThat(jsonObj.getJSONObject("definitions").remove("Mono«ResponseEntity«object»»")).isNotNull();
+ assertThat(jsonObj.getJSONObject("definitions").remove("Void")).isNotNull();
String indented = jsonObj.toString(4);
try (PrintStream out = new PrintStream(new FileOutputStream("api/ecs-api.json"))) {
out.print(indented);
String indented = jsonObj.toString(4);
try (PrintStream out = new PrintStream(new FileOutputStream("api/ecs-api.json"))) {
out.print(indented);