Skip to content

Commit

Permalink
Forsøk på at mocking skal virke ved kjøring av alle tester
Browse files Browse the repository at this point in the history
  • Loading branch information
olekvernberg committed Feb 3, 2025
1 parent fc9316e commit 975ea45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class NæringsinntektKontrollBrevTest : OppslagSpringRunnerTest() {
iverksettClient.sendFrittståendeBrev(capture(frittståendeBrevSlot))
} just runs

every { pdlClient.hentPersonKortBolk(any()) } answers {
every { pdlClient.hentPersonKortBolk(listOf("01010199999")) } answers {
firstArg<List<String>>().associate { it to lagPersonKort("Fornavn") }
}

Expand Down

0 comments on commit 975ea45

Please sign in to comment.