summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'intentanalysis/src/test')
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java2
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
index 265c097..4d029c1 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/ExpectationServiceTest.java
@@ -47,7 +47,7 @@ class ExpectationServiceTest extends AbstractJUnit4SpringContextTests {
Expectation expectation = new Expectation();
ExpectationObject object = new ExpectationObject();
- object.setObjectType(ObjectType.valueOf("OBJECT1"));
+ object.setObjectType(ObjectType.valueOf("SLICING"));
object.setObjectInstance("objectInstance");
Condition targetCondition = new Condition();
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
index ace1683..a1a31de 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/service/IntentServiceTest.java
@@ -76,7 +76,7 @@ public class IntentServiceTest extends AbstractJUnit4SpringContextTests {
target1.setTargetConditions(targetConditionList);
List<ExpectationTarget> expectationTargetList = new ArrayList<>();
expectationTargetList.add(target1);
- object1.setObjectType(ObjectType.valueOf("OBJECT1"));
+ object1.setObjectType(ObjectType.valueOf("SLICING"));
object1.setObjectInstance("objectInstance");
expectation1.setExpectationId("expectationId");
expectation1.setExpectationName("expectationName");