Skip to content

Commit

Permalink
ryddet i println's
Browse files Browse the repository at this point in the history
  • Loading branch information
jankroken-nav committed Nov 27, 2024
1 parent b0f83e7 commit d12fb1e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class BarnetrygdmottakerProcessingTask(

private fun isEnabled(): Boolean {
val enabled = unleash.isEnabled(UnleashConfig.Feature.PROSESSER_BARNETRYGDMOTTAKER.toggleName)
println("isEnabled() -> $enabled")
return enabled
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ class KompletteringsServiceTest : SpringContextTest.NoKafka() {
.isInstanceOf(Feilinformasjon.UgyldigIdent::class.java)
.hasFieldOrPropertyWithValue("ident", fnr(2).value)
.hasFieldOrPropertyWithValue("identRolle", IdentRolle.OMSORGSMOTTAKER_BARNETRYGD)
println("SIZE: " + komplettert.rådata.size)
println("RÅDATA: ${komplettert.rådata}")
assertThat(komplettert.rådata)
.filteredOn { it.containsKey("barnetrygd") }
.hasSize(1)
Expand Down Expand Up @@ -512,7 +510,6 @@ class KompletteringsServiceTest : SpringContextTest.NoKafka() {
.hasSize(1)
.first()
.isInstanceOf(Feilinformasjon.OverlappendeBarnetrygdperioder::class.java)
println(komplettert)
assertThat(komplettert.rådata).hasSizeGreaterThanOrEqualTo(1) // TODO: Sette fast verdi igjen senere
assertThat((komplettert.feilinformasjon.first() as Feilinformasjon.OverlappendeBarnetrygdperioder).omsorgsmottaker)
.isEqualTo(fnr(2).value)
Expand Down Expand Up @@ -623,10 +620,9 @@ class KompletteringsServiceTest : SpringContextTest.NoKafka() {
.hasSize(1)
.first()
.isInstanceOf(Feilinformasjon.OverlappendeHjelpestønadperioder::class.java)
println(komplettert.feilinformasjon.first())

assertThat(komplettert.persongrunnlag).isEmpty()
assertThat(komplettert.rådata).hasSize(15) // // TODO: Sette fast verdi igjen senere
assertThat(komplettert.rådata).hasSize(15) // TODO: ekspandere sjekkingen her
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ class BarnetrygdinformasjonRepositoryTest : SpringContextTest.NoKafka() {

val alle = barnetrygdinformasjonRepository.finnAlle(innlesing.id)
assertThat(alle).hasSize(4)
alle.forEach {
println("::: $it")
}

val locked1 = barnetrygdinformasjonRepository.finnNesteTilBehandling(3)
assertThat(locked1.data).hasSize(3)
Expand Down

0 comments on commit d12fb1e

Please sign in to comment.