We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324e880 commit 879e109Copy full SHA for 879e109
grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/CustomAutoTimestampSpec.groovy
@@ -37,7 +37,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {
37
when:"An entity is persisted"
38
def r = new RecordCustom(name: "Test")
39
def now = new Date()
40
- r.created = new Date()
+ r.created = new Date(now.time)
41
r.modified = r.created
42
r.save(flush:true, failOnError:true)
43
session.clear()
@@ -68,7 +68,7 @@ class CustomAutoTimestampSpec extends GormDatastoreSpec {
68
69
70
71
72
73
74
0 commit comments