File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
impl/test/src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change
1
+ * text eol =lf
Original file line number Diff line number Diff line change @@ -101,8 +101,9 @@ void simpleWorkflow() throws IOException {
101
101
assertThat (workflowCompletedEvent .output ()).isEqualTo (model .asJavaObject ());
102
102
assertThat (workflowStartedEvent .startedAt ()).isBefore (workflowCompletedEvent .completedAt ());
103
103
assertThat (taskCompletedEvent .output ()).isEqualTo (model .asJavaObject ());
104
- assertThat (taskCompletedEvent .completedAt ()).isBefore (workflowCompletedEvent .completedAt ());
105
- assertThat (taskStartedEvent .startedAt ()).isAfter (workflowStartedEvent .startedAt ());
104
+ assertThat (taskCompletedEvent .completedAt ())
105
+ .isBeforeOrEqualTo (workflowCompletedEvent .completedAt ());
106
+ assertThat (taskStartedEvent .startedAt ()).isAfterOrEqualTo (workflowStartedEvent .startedAt ());
106
107
assertThat (taskStartedEvent .startedAt ()).isBefore (taskCompletedEvent .completedAt ());
107
108
}
108
109
You can’t perform that action at this time.
0 commit comments