Skip to content

Commit 821360e

Browse files
committed
fix: assert date
1 parent e7b899b commit 821360e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core-groovy/src/test/groovy/com/baeldung/json/JsonParserTest.groovy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class JsonParserTest extends Specification {
2626

2727
def 'Should parse to Account given Json String with date property' () {
2828
given:
29-
def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T02:00:00+0000"}'
29+
def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T00:00:00+0000"}'
3030
when:
3131
def account = jsonParser.toObjectWithIndexOverlay(json)
3232
then:

0 commit comments

Comments
 (0)