We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6cf62a commit b2e7d4fCopy full SHA for b2e7d4f
src/test/kotlin/no/nav/syfo/testhelper/generator/DialogmoteGenerator.kt
@@ -5,9 +5,10 @@ import no.nav.syfo.domain.PersonIdent
5
import no.nav.syfo.testhelper.UserConstants
6
import no.nav.syfo.testhelper.UserConstants.VIRKSOMHETSNUMMER_HAS_NARMESTELEDER
7
import java.time.LocalDateTime
8
+import java.time.temporal.ChronoUnit
9
import java.util.*
10
-val DIALOGMOTE_TIDSPUNKT_FIXTURE = LocalDateTime.now().plusDays(30L)
11
+val DIALOGMOTE_TIDSPUNKT_FIXTURE = LocalDateTime.now().plusDays(30L).truncatedTo(ChronoUnit.MILLIS)
12
13
fun generateNewDialogmoteTidSted() = NewDialogmoteTidSted(
14
sted = "This is a very lang text that has a lot of characters and describes where the meeting will take place.",
0 commit comments