diff options
author | Sébastien Determe <sebastien.determe@intl.att.com> | 2019-03-10 18:42:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-10 18:42:17 +0000 |
commit | 60e5cc9c7768ddda104069f7773fb636f77587e8 (patch) | |
tree | 11b1ac715d7573b358176eeacff88151b450ea75 /src/test/java | |
parent | 93cf55254a9ee5f3cbab6bcc6ff3c2ef0c2e379b (diff) | |
parent | 8a27271dd4555f18f53a43038ba760c0250b7e8b (diff) |
Merge "New endpoint"
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java index a9c308737..b7781bf2c 100644 --- a/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java +++ b/src/test/java/org/onap/clamp/loop/LoopServiceTestItCase.java @@ -70,7 +70,7 @@ public class LoopServiceTestItCase { testLoop.setLastComputedState(LoopState.DESIGN); //when - Loop actualLoop = loopService.addNewLoop(testLoop); + Loop actualLoop = loopService.saveOrUpdateLoop(testLoop); //then assertThat(actualLoop).isNotNull(); @@ -166,7 +166,7 @@ public class LoopServiceTestItCase { private void saveTestLoopToDb() { Loop testLoop = createTestLoop(EXAMPLE_LOOP_NAME, "blueprint", "representation"); testLoop.setGlobalPropertiesJson(JsonUtils.GSON.fromJson(EXAMPLE_JSON, JsonObject.class)); - loopService.addNewLoop(testLoop); + loopService.saveOrUpdateLoop(testLoop); } @Test |