Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AudunSorheim committed Apr 8, 2024
1 parent 3c7cdae commit 3e5c66d
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import no.nav.syfo.kafka.producers.dittsykefravaer.domain.DittSykefravaerMelding
import no.nav.syfo.kafka.producers.dittsykefravaer.domain.OpprettMelding
import no.nav.syfo.kafka.producers.dittsykefravaer.domain.Variant
import no.nav.syfo.planner.arbeidstakerFnr1
import no.nav.syfo.service.SenderFacade.InternalBrukernotifikasjonType.DONE
import no.nav.syfo.testutil.EmbeddedDatabase
import no.nav.syfo.testutil.dropData
import no.nav.syfo.testutil.mocks.fnr1
Expand Down Expand Up @@ -201,8 +202,13 @@ class DialogmoteInnkallingVarselServiceSpek : DescribeSpec({
dialogmoteInnkallingVarselService.sendVarselTilArbeidstaker(varselHendelse)

verify(exactly = 1) {
brukernotifikasjonerService.ferdigstillVarsel(
any(),
brukernotifikasjonerService.sendBrukernotifikasjonVarsel(
uuid = any(),
mottakerFnr = fnr1,
content = any(),
url = dialogmoteInnkallingVarselService.getVarselUrl(varselHendelse, journalpostUuid),
varseltype = DONE,
eksternVarsling = true,
)
}

Expand Down

0 comments on commit 3e5c66d

Please sign in to comment.