mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(tests): SchedulerConditionTest.schedule use Instant instead of ZonedDateTime
This commit is contained in:
committed by
brian-mulier-p
parent
6a111a676c
commit
371c1281ca
@@ -106,7 +106,7 @@ class SchedulerConditionTest extends AbstractSchedulerTest {
|
||||
|
||||
queueCount.countDown();
|
||||
if (queueCount.getCount() == 0) {
|
||||
assertThat(ZonedDateTime.parse((String) execution.getTrigger().getVariables().get("date"))).isEqualTo(ZonedDateTime.parse("2022-01-03T00:00:00+01:00"));
|
||||
assertThat(ZonedDateTime.parse((String) execution.getTrigger().getVariables().get("date")).toInstant()).isEqualTo(ZonedDateTime.parse("2022-01-03T00:00:00Z").toInstant());
|
||||
}
|
||||
}
|
||||
assertThat(execution.getFlowId()).isEqualTo(flow.getId());
|
||||
|
||||
Reference in New Issue
Block a user