mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
Added missing JacksonSupport unit test for Instant (#3507)
This commit is contained in:
parent
f19564f9f8
commit
b8e6c47cfd
@ -391,6 +391,11 @@ class JacksonSupportTest(@Suppress("unused") private val name: String, factory:
|
||||
testToStringSerialisation(UUID.randomUUID())
|
||||
}
|
||||
|
||||
@Test
|
||||
fun Instant() {
|
||||
testToStringSerialisation(Instant.now())
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Date is treated as Instant`() {
|
||||
val date = Date()
|
||||
|
Loading…
x
Reference in New Issue
Block a user