Skip to content

Commit

Permalink
T - Legger til mocking for httpStatus exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Oct 31, 2024
1 parent 877cc8d commit 4e14c0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ internal class EuxInnhentingServiceTest {
val buc = Buc(processDefinitionName = "P_BUC_02", documents = documentsItem)
val docs = listOf(BucOgDocumentAvdod(rinaid, buc, dokumentid))

every { euxKlient.getSedOnBucByDocumentIdNotAsSystemUser(rinaid, dokumentid) } returns SedType.P2100.name
every { euxKlient.getSedOnBucByDocumentIdNotAsSystemUser(rinaid, dokumentid, any()) } returns SedType.P2100.name

val actual = euxInnhentingService.hentDocumentJsonAvdod(docs)

Expand Down

0 comments on commit 4e14c0e

Please sign in to comment.