Skip to content

Commit

Permalink
Oppdatert testdata-datoene litt
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddsor committed Sep 24, 2024
1 parent f2c9dbf commit 7cd1690
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ fun `Vidar SendKrav`(): Refusjon {
refusjon.let {
it.medBedriftKontonummer()
it.status = RefusjonStatus.SENDT_KRAV
it.godkjentAvArbeidsgiver = Now.instant().atZone(ZoneId.of("Europe/Oslo")).minusDays(5).toInstant()
it.godkjentAvArbeidsgiver = Now.localDate().minusMonths(1).with(lastDayOfMonth()).plusDays(1).atStartOfDay(ZoneId.of("Europe/Oslo")).toInstant()
}

return refusjon
Expand All @@ -842,8 +842,8 @@ fun `Vidar Utbetalt`(): Refusjon {
refusjon.let {
it.medBedriftKontonummer()
it.status = RefusjonStatus.UTBETALT
it.godkjentAvArbeidsgiver = Now.instant().atZone(ZoneId.of("Europe/Oslo")).minusDays(5).toInstant()
it.utbetaltTidspunkt = Now.instant().atZone(ZoneId.of("Europe/Oslo")).minusDays(2).toInstant()
it.godkjentAvArbeidsgiver = Now.localDate().minusMonths(1).with(lastDayOfMonth()).plusDays(1).atStartOfDay(ZoneId.of("Europe/Oslo")).toInstant()
it.utbetaltTidspunkt = Now.localDate().minusMonths(1).with(lastDayOfMonth()).plusDays(3).atStartOfDay(ZoneId.of("Europe/Oslo")).toInstant()
}

return refusjon
Expand Down

0 comments on commit 7cd1690

Please sign in to comment.