Skip to content

Commit 0e8ce5c

Browse files
committed
changed initiation placement to adhere to new checkstyle guidelines
1 parent fe7e2e5 commit 0e8ce5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/uk/gov/hmcts/reform/wastandalonetaskbpmn/CamundaProcessEngineBaseUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ public ProcessInstance startCreateTaskProcessWithBusinessKeyWithoutTenentId(Map<
6363
*/
6464
public ProcessInstance createTask(boolean withDelayUntil) {
6565

66-
String delayUntilValue = now().plusSeconds(1).format(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT_PATTERN));
67-
6866
ZonedDateTime dueDate = now().plusDays(7);
6967

7068
Map<String, Object> variables = new HashMap<>();
@@ -82,6 +80,8 @@ public ProcessInstance createTask(boolean withDelayUntil) {
8280
variables.put("workingDaysAllowed", 2);
8381
variables.put("isDuplicate", false);
8482

83+
String delayUntilValue = now().plusSeconds(1).format(DateTimeFormatter.ofPattern(DATE_TIME_FORMAT_PATTERN));
84+
8585
if (withDelayUntil) {
8686
variables.put("delayUntil", delayUntilValue);
8787
}

0 commit comments

Comments
 (0)