Skip to content

Commit

Permalink
Fix audit date logic for later versions of Spring Boot 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jul 22, 2019
1 parent 1b35b70 commit 2caeceb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class EnversVersioningMetadataTests extends Specification {

then:
mrVersions[0].creator == mr.createdBy
mrVersions[0].date == mr.createdDateAsZonedDateTime()
mrVersions[0].date == mr.modifiedDateAsZonedDateTime()
edVersions[0].creator == ed.createdBy
edVersions[0].date == ed.createdDateAsZonedDateTime()
edVersions[0].date == ed.modifiedDateAsZonedDateTime()

when: 'new version due to update'
mr.name = 'UPDATED'
Expand Down

0 comments on commit 2caeceb

Please sign in to comment.