File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
impl/test/src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ 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 ()).isBeforeOrEqualTo (workflowCompletedEvent .completedAt ());
105
+ assertThat (taskStartedEvent .startedAt ()).isAfterOrEqualTo (workflowStartedEvent .startedAt ());
106
106
assertThat (taskStartedEvent .startedAt ()).isBefore (taskCompletedEvent .completedAt ());
107
107
}
108
108
You can’t perform that action at this time.
0 commit comments