Skip to content

Commit

Permalink
Endre sjekken for ikke distribuert (#213)
Browse files Browse the repository at this point in the history
* Endre sjekken for ikke distribuert

* Endre sjekken for ikke distribuert
  • Loading branch information
ugur93 authored Aug 30, 2024
1 parent 2f7fedc commit 0cf7185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface ForsendelseRepository : CrudRepository<Forsendelse, Long> {
): List<Forsendelse>

@Query(
"select f from forsendelse f where f.status = 'FERDIGSTILT' and f.journalpostIdFagarkiv is not null and f.forsendelseType = 'UTGÅENDE' and f.distribusjonKanal is null",
"select f from forsendelse f where f.status = 'FERDIGSTILT' and f.journalpostIdFagarkiv is not null and f.forsendelseType = 'UTGÅENDE'",
)
fun hentFerdigstilteArkivertIJoarkIkkeDistribuert(): List<Forsendelse>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class OppdaterDistribusjonStatusTest : KafkaHendelseTestRunner() {
skedulering.oppdaterDistribusjonstatus()
}

stubUtils.Valider().hentDistribusjonInfoKalt(1)
stubUtils.Valider().hentDistribusjonInfoKalt(4)

val forsendelseEtter = testDataManager.hentForsendelse(forsendelse.forsendelseId!!)
assertSoftly {
Expand Down

0 comments on commit 0cf7185

Please sign in to comment.