Skip to content

Commit 158c052

Browse files
committed
Unit test fixed after changing the data model sent to python rules.
1 parent d2d22d2 commit 158c052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dqops/src/test/java/com/dqops/utils/serialization/JsonSerializerImplTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ void serialize_whenHistoricDataPointWithDatesSerialized_thenDateFormatIsCorrect(
9999
String json = this.sut.serialize(dataPoint);
100100

101101
Assertions.assertEquals("""
102-
{"timestamp_utc":"2022-03-07T20:15:10Z","local_datetime":"2022-03-07T22:15:10","back_periods_index":-2,"sensor_readout":10.5}""", json);
102+
{"timestamp_utc_epoch":1646684110,"local_datetime_epoch":1646691310,"back_periods_index":-2,"sensor_readout":10.5}""", json);
103103
}
104104
}

0 commit comments

Comments
 (0)