diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-04-29 18:50:46 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-04-29 18:50:46 +0200 |
commit | 9507b7416ee595eb59e25c6797f3720c0a89767c (patch) | |
tree | e780adccb56a1e94364571f9d8a6964873d0e40a /src/test | |
parent | c7e23eae162aa059bea8c9d13556d3931520f17b (diff) |
Fix bad microservice window
Fix the bug where operational policy window is opened in the UI instead
of the right microservice one
Issue-ID: CLAMP-364
Change-Id: I2fd64f0dd2de54e8498f4cdce2c55fd912fd5f21
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/clamp/clds/util/drawing/ClampGraphBuilderTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/onap/clamp/clds/util/drawing/ClampGraphBuilderTest.java b/src/test/java/org/onap/clamp/clds/util/drawing/ClampGraphBuilderTest.java index f7d2fe76..5eb664fe 100644 --- a/src/test/java/org/onap/clamp/clds/util/drawing/ClampGraphBuilderTest.java +++ b/src/test/java/org/onap/clamp/clds/util/drawing/ClampGraphBuilderTest.java @@ -58,8 +58,8 @@ public class ClampGraphBuilderTest { String collector = "VES"; MicroService ms1 = new MicroService("ms1", "", "", "ms1_jpa_id", ""); MicroService ms2 = new MicroService("ms2", "", "", "ms2_jpa_id", ""); - ; - String policy = "Policy"; + + String policy = "OperationalPolicy"; List<MicroService> microServices = Arrays.asList(ms1, ms2); ClampGraphBuilder clampGraphBuilder = new ClampGraphBuilder(mockPainter); @@ -86,7 +86,7 @@ public class ClampGraphBuilderTest { @Test(expected = InvalidStateException.class) public void clampGraphBuilderNoMicroServiceGivenTest() { String collector = "VES"; - String policy = "Policy"; + String policy = "OperationalPolicy"; ClampGraphBuilder clampGraphBuilder = new ClampGraphBuilder(mockPainter); clampGraphBuilder.collector(collector).policy(policy).build(); |