Skip to content

Commit a25497f

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

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
@@ -49,7 +49,7 @@ class JsonParserTest extends Specification {
4949
def json = jsonParser.toJson(account)
5050
then:
5151
json
52-
json == '{"value":15.6,"createdAt":"2018-01-01T02:00:00+0000","id":"123"}'
52+
json == '{"value":15.6,"createdAt":"2018-01-01T00:00:00+0000","id":"123"}'
5353
}
5454

5555
def 'Should parse to Json given an Account object, a date format and fields to exclude' () {

0 commit comments

Comments
 (0)