fix: assert date

This commit is contained in:
Bruno Matos Torrao 2018-02-25 16:31:53 -03:00
parent e7b899b233
commit 821360efba
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class JsonParserTest extends Specification {
def 'Should parse to Account given Json String with date property' () {
given:
def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T02:00:00+0000"}'
def json = '{"id":"1234","value":15.6,"createdAt":"2018-01-01T00:00:00+0000"}'
when:
def account = jsonParser.toObjectWithIndexOverlay(json)
then: