summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2019-03-15 15:06:25 +0100
committerxg353y <xg353y@intl.att.com>2019-03-15 16:17:53 +0100
commit7fc8fd594dddbd079fcb8419f658e08620eb38c7 (patch)
treead4e98e197943668d305bcc265e46ed61d89b161 /src/test/java
parent2e4242e58dbc659e11df212115b9c8827d548167 (diff)
Rework UI
Fix bugs due to the data model change Issue-ID: CLAMP-318 Change-Id: If3750505a5f496caae61c01c2179e058e79eba52 Signed-off-by: xg353y <xg353y@intl.att.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java
index d247344a6..4011a7867 100644
--- a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java
+++ b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java
@@ -149,7 +149,7 @@ public class LoopServiceTestItCase {
newJsonRepresentation, null);
//when
- firstMicroServicePolicy.setJsonRepresentation(newJsonRepresentation);
+ firstMicroServicePolicy.setProperties(JsonUtils.GSON.fromJson("{\"name1\":\"value1\"}", JsonObject.class));
Loop actualLoop = loopService.updateAndSaveMicroservicePolicies(EXAMPLE_LOOP_NAME,
Lists.newArrayList(firstMicroServicePolicy, secondMicroServicePolicy));