diff options
author | sebdet <sebastien.determe@intl.att.com> | 2018-11-08 17:11:10 +0100 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2018-11-09 10:32:54 +0100 |
commit | 2579386298fc4862a87073f8c719986925d77424 (patch) | |
tree | 58e8cff333a1d3c4b6eb4958b3457b22c39e41b4 /src/test | |
parent | ac4958ae6d30e60c5cf0bd66ce8f3c79191c6726 (diff) |
Fix DCAE status refresh
Fix the DCAE status refresh that was not done during the loading of the
model in Clamp
Issue-ID: CLAMP-246
Change-Id: I61ec1de74d46879ba638833bcab5143966d37228
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/clamp/clds/model/CldsModelTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/onap/clamp/clds/model/CldsModelTest.java b/src/test/java/org/onap/clamp/clds/model/CldsModelTest.java index 6ebdc4bbf..0a6018549 100644 --- a/src/test/java/org/onap/clamp/clds/model/CldsModelTest.java +++ b/src/test/java/org/onap/clamp/clds/model/CldsModelTest.java @@ -18,7 +18,7 @@ * limitations under the License. * ============LICENSE_END============================================ * =================================================================== - * + * */ package org.onap.clamp.clds.model; @@ -78,14 +78,14 @@ public class CldsModelTest { cldsModel.getEvent().setActionCd(CldsEvent.ACTION_SUBMIT); cldsModel.validateAction(CldsEvent.ACTION_RESUBMIT); try { - cldsModel.validateAction(CldsEvent.ACTION_DEPLOY); + cldsModel.validateAction(CldsEvent.ACTION_RESTART); fail("Exception should have been sent"); } catch (IllegalArgumentException e) { logger.error("Exception caught IllegalArgumentException as expected", e); } cldsModel.getEvent().setActionCd(CldsEvent.ACTION_RESUBMIT); cldsModel.validateAction(CldsEvent.ACTION_RESUBMIT); - cldsModel.validateAction(CldsEvent.ACTION_DEPLOY); + cldsModel.validateAction(CldsEvent.ACTION_RESTART); fail("Exception should have been sent"); } |