diff options
author | 2020-08-25 03:36:59 -0700 | |
---|---|---|
committer | 2020-08-25 03:36:59 -0700 | |
commit | 680363be57e6ac62ac537d63a77e5da237239c18 (patch) | |
tree | 7e4ac2cb3792b585f194d3bee73538ce613c4766 /src/test | |
parent | 967b113a25e92e0b95ad4a1ac3b3966debd6d921 (diff) |
Fix serviceState type conflict
Issue-ID: EXTAPI-503
Signed-off-by: Priyadharshini <priyadharshini.b96@wipro.com>
Change-Id: I25c8a176dfb54781826c4398efd1f3d589b5c071
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java b/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java index 57f8bce..0deb155 100644 --- a/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java +++ b/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java @@ -200,7 +200,7 @@ public class ServiceOrderExecutionTaskAssertions { itemA.action(actionType); Service serviceA = new Service(); - serviceA.setServiceState("active"); + serviceA.setServiceState(ServiceStateType.ACTIVE); ServiceSpecificationRef serviceSpecificationRefA = new ServiceSpecificationRef(); serviceSpecificationRefA.setId("3bed38ff-a4fd-4463-9784-caf738d46dbc"); serviceA.setServiceSpecification(serviceSpecificationRefA); @@ -214,7 +214,7 @@ public class ServiceOrderExecutionTaskAssertions { if (actionType != ActionType.ADD) { serviceB.setId("e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"); } - serviceB.setServiceState("active"); + serviceB.setServiceState(ServiceStateType.ACTIVE); ServiceSpecificationRef serviceSpecificationRefB = new ServiceSpecificationRef(); serviceSpecificationRefB.setId("3bed38ff-a4fd-4463-9784-caf738d46dbc"); serviceB.setServiceSpecification(serviceSpecificationRefB); @@ -698,7 +698,7 @@ public class ServiceOrderExecutionTaskAssertions { serviceA.setId("edf094cc-281f-4be9-a284-e047ded86066"); serviceA.setServicetype("vfwk8s"); - serviceA.setServiceState("active"); + serviceA.setServiceState(ServiceStateType.ACTIVE); ServiceSpecificationRef serviceSpecificationRefA = new ServiceSpecificationRef(); serviceSpecificationRefA.setId("edf094cc-281f-4be9-a284-e047ded86066"); serviceA.setServiceSpecification(serviceSpecificationRefA); @@ -711,7 +711,7 @@ public class ServiceOrderExecutionTaskAssertions { Service serviceB = new Service(); //serviceB.setId("edf094cc-281f-4be9-a284-e047ded86066"); - serviceB.setServiceState("active"); + serviceB.setServiceState(ServiceStateType.ACTIVE); ServiceSpecificationRef serviceSpecificationRefB = new ServiceSpecificationRef(); serviceSpecificationRefB.setId("edf094cc-281f-4be9-a284-e047ded86066"); serviceB.setServiceSpecification(serviceSpecificationRefB); |