-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nav 24098 tilpasser opphørsperiode for lovverk 2025 #1064
The head ref may contain hidden characters: "NAV_24098_tilpasser_opph\u00F8rsperiode_for_lovverk_2025"
Nav 24098 tilpasser opphørsperiode for lovverk 2025 #1064
Conversation
…siste utbetalingsperiode pga. fremtidig opphør
Oppdaterer Testdata -> lagVilkårsvurdering til å bruke Set()
@@ -127,18 +135,21 @@ private fun finnOpphørsperiodeEtterSisteUtbetalingsperiode( | |||
|
|||
val erFramtidigOpphørPgaBarnehageplass = | |||
vilkårsvurdering.personResultater.any { personResultat -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne og på linje 142. Skal det fortsatt være any()? Nå vil den bare gi første og beste treff, men hva hvis det er flere barn med forskjellige fødselsdatoer? F.eks at barn1 treffer gammelt lovverk og barn2 treffer nytt lovverk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Den variabelen brukes til å sette begrunnelse, og den skal vel gjelde for alle lovverk
emptyList(), | ||
) | ||
@Test | ||
fun `skal mappe opphørte perioder for forskjellige barn som treffer før og etter lovverk feb 2025`() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gir denne testen i det hele tatt mening? Ref. kommentar med any() så får man vel ikke testet dette på noen måte.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovverk 2024 og lovverk 2025 gir forskjellige opphørsperioder, så denne testen vil feile uten logikken dere har lagt til, fordi man bare får én opphørsperiode
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! ⭐ ⭐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💰 Hva skal gjøres, og hvorfor?
Favro: https://favro.com/organization/98c34fb974ce445eac854de0/1844bbac3b6605eacc8f5543?card=NAV-24098
Oppdaterer
mapTilOpphørsperioder
til å ta høyde for ny lovverksendring.🔎️ Er det noe spesielt du ønsker tilbakemelding om?
Se kommentarer i PR.
✅ Checklist
Har du husket alle punktene i listen?
💬 Ønsker du en muntlig gjennomgang?