Skip to content

Commit

Permalink
Unit test fixed after changing the data model sent to python rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrczarnas committed Oct 17, 2024
1 parent d2d22d2 commit 158c052
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ void serialize_whenHistoricDataPointWithDatesSerialized_thenDateFormatIsCorrect(
String json = this.sut.serialize(dataPoint);

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

0 comments on commit 158c052

Please sign in to comment.