Skip to content

Commit

Permalink
Test: Fikser builder for uttaksplan
Browse files Browse the repository at this point in the history
  • Loading branch information
espenwaaga committed Oct 19, 2023
1 parent 461e2b8 commit f3a019e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ public static UttakplanPeriodeBuilder opphold(Oppholdsårsak oppholdsårsak, Loc
}

public static UttakplanPeriodeBuilder overføring(Overføringsårsak årsak, StønadskontoType konto, LocalDate fom, LocalDate tom) {
return new UttakplanPeriodeBuilder(UttaksplanPeriodeDto.Type.UTTAK, konto, fom, tom)
return new UttakplanPeriodeBuilder(UttaksplanPeriodeDto.Type.OVERFØRING, konto, fom, tom)
.medÅrsak(årsak.name());
}

public static UttakplanPeriodeBuilder utsettelse(UtsettelsesÅrsak årsak, LocalDate fom, LocalDate tom) {
return new UttakplanPeriodeBuilder(UttaksplanPeriodeDto.Type.UTTAK, null, fom, tom)
return new UttakplanPeriodeBuilder(UttaksplanPeriodeDto.Type.UTSETTELSE, null, fom, tom)
.medÅrsak(årsak.name());
}

Expand Down

0 comments on commit f3a019e

Please sign in to comment.