Skip to content

Commit

Permalink
Nare 263 og bruk regelversjon=prosjekt:versjon (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen authored Jul 29, 2024
1 parent ddf896e commit 6dc46a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<jacoco.version>0.8.12</jacoco.version>
<fpsak.nare.version>2.6.1</fpsak.nare.version>
<fpsak.nare.version>2.6.3</fpsak.nare.version>
<fpsak.tidsserie.version>2.7.1</fpsak.tidsserie.version>
<assertj.version>3.26.3</assertj.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ private void fastsettPeriode(FastsettePeriodeRegel regel, AvklarteDatoer avklart
var årsak = regelresultat.periodeÅrsak();

switch (utfallType) {
case IKKE_OPPFYLT -> periode.avslå(årsak, inputJson, regelJson, REGEL_VERSION.version());
case OPPFYLT -> periode.innvilg(årsak, inputJson, regelJson, REGEL_VERSION.version());
case IKKE_OPPFYLT -> periode.avslå(årsak, inputJson, regelJson, REGEL_VERSION.nameAndVersion());
case OPPFYLT -> periode.innvilg(årsak, inputJson, regelJson, REGEL_VERSION.nameAndVersion());
default -> throw new UnsupportedOperationException(String.format("Ukjent utfalltype: %s", utfallType.name()));
}
}
Expand Down

0 comments on commit 6dc46a2

Please sign in to comment.