Commit 7b7af1f
committed
Fix OCPP V2.0 BootNotificationSpec test
Commit 48743c9 changed the
serialization of ZonedDateTime objects, losing the timezone information.
However, the BootNotification test compares the original object against
the serialized and deserialized object, which no longer matches when the
test machine is configured to a local timezone other than UTC.
Fix the test to take timestamps with UTC timezone so that they can match
ZonedDateTime objects resulting from serialization and deserialization.1 parent b797981 commit 7b7af1f
File tree
1 file changed
+2
-1
lines changed- ocpp-v2_0-test/src/main/java/eu/chargetime/ocpp/test/features
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments