aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java')
-rw-r--r--src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java b/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java
index 5ff1816..6bd4bd0 100644
--- a/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java
+++ b/src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java
@@ -205,12 +205,12 @@ public class ServiceOrderAssertions {
String json = JsonEntityConverter.convertServiceOrderInfoToJson(serviceOrderInfo);
ExecutionTask executionTaskA = new ExecutionTask();
- executionTaskA.setNbRetries(3);
+ executionTaskA.setCreateDate(new Date());
executionTaskA.setOrderItemId("A");
executionTaskA.setServiceOrderInfoJson(json);
executionTaskA = executionTaskRepository.save(executionTaskA);
ExecutionTask executionTaskB = new ExecutionTask();
- executionTaskB.setNbRetries(3);
+ executionTaskB.setCreateDate(new Date());
executionTaskB.setOrderItemId("B");
executionTaskB.setReliedTasks(String.valueOf(executionTaskA.getInternalId()));
executionTaskB.setServiceOrderInfoJson(json);
@@ -283,12 +283,12 @@ public class ServiceOrderAssertions {
String json = JsonEntityConverter.convertServiceOrderInfoToJson(serviceOrderInfo);
ExecutionTask executionTaskA = new ExecutionTask();
- executionTaskA.setNbRetries(3);
+ executionTaskA.setCreateDate(new Date());
executionTaskA.setOrderItemId("A");
executionTaskA.setServiceOrderInfoJson(json);
executionTaskA = executionTaskRepository.save(executionTaskA);
ExecutionTask executionTaskB = new ExecutionTask();
- executionTaskB.setNbRetries(3);
+ executionTaskB.setCreateDate(new Date());
executionTaskB.setOrderItemId("B");
executionTaskB.setReliedTasks(String.valueOf(executionTaskA.getInternalId()));
executionTaskB.setServiceOrderInfoJson(json);