Skip to content

Commit

Permalink
Forventer at behov som skal løses på inntektId har InntektId i pakka.
Browse files Browse the repository at this point in the history
Co-authored-by: Tonje Mjøvik Myran <tonje.mjovik.myran@nav.no>
Co-authored-by: André Roaldseth <andre.roaldseth@nav.no>
  • Loading branch information
3 people committed Nov 26, 2024
1 parent a9556da commit b1cb57c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ internal class LegacyInntektBehovløser(
precondition {
it.requireValue("@event_name", "behov")
it.requireAllOrAny("@behov", behovSomLøses)
it.requireKey("InntektId")
}
validate { it ->
it.forbid("@løsning")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ internal class LegacyInntektBehovLøserTest {
"InntektSiste36Mnd": {
"InntektId": "$inntektId"
},
"InntektId": "$inntektId",
"@id": "f0d97980-93e0-4638-8a61-337978466d7e",
"@opprettet": "2024-02-15T10:38:55.821778",
"system_read_count": 0,
Expand Down

0 comments on commit b1cb57c

Please sign in to comment.