File tree 1 file changed +2
-1
lines changed
src/test/kotlin/no/nav/syfo/dialogmote/api/v2
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import no.nav.syfo.testhelper.mock.oppfolgingstilfellePersonDTO
31
31
import org.amshove.kluent.*
32
32
import org.spekframework.spek2.Spek
33
33
import org.spekframework.spek2.style.specification.describe
34
+ import java.time.temporal.ChronoUnit
34
35
import java.util.*
35
36
36
37
class PostDialogmoteTidStedApiV2Spek : Spek ({
@@ -235,7 +236,7 @@ class PostDialogmoteTidStedApiV2Spek : Spek({
235
236
236
237
val urlMoteUUIDPostTidSted =
237
238
" $dialogmoteApiV2Basepath /$createdDialogmoteUUID$dialogmoteApiMoteTidStedPath "
238
- val newDialogmoteTid = newDialogmoteDTO.tidSted.tid.plusDays(1)
239
+ val newDialogmoteTid = newDialogmoteDTO.tidSted.tid.plusDays(1).truncatedTo( ChronoUnit . MILLIS )
239
240
val newDialogmoteTidSted = EndreTidStedDialogmoteDTO (
240
241
sted = "Et annet sted",
241
242
tid = newDialogmoteTid,
You can’t perform that action at this time.
0 commit comments