fix: assert date
This commit is contained in:
parent
e7b899b233
commit
821360efba
@ -26,7 +26,7 @@ class JsonParserTest extends Specification {
|
|||||||
|
|
||||||
def 'Should parse to Account given Json String with date property' () {
|
def 'Should parse to Account given Json String with date property' () {
|
||||||
given:
|
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:
|
when:
|
||||||
def account = jsonParser.toObjectWithIndexOverlay(json)
|
def account = jsonParser.toObjectWithIndexOverlay(json)
|
||||||
then:
|
then:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user