File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/test/kotlin/no/nav/tms/statistikk/varsel Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 1
1
package no.nav.tms.statistikk.varsel
2
2
3
3
import io.kotest.matchers.shouldBe
4
- import io.micrometer.prometheus.PrometheusConfig
5
- import io.micrometer.prometheus.PrometheusMeterRegistry
6
4
import kotliquery.queryOf
7
5
import no.nav.tms.kafka.application.MessageBroadcaster
8
6
import no.nav.tms.statistikk.database.DateTimeHelper
@@ -15,7 +13,6 @@ import java.time.LocalDate
15
13
class VarselPerDagSubscriberTest {
16
14
17
15
private val database = LocalPostgresDatabase .cleanDb()
18
- private val registry = PrometheusMeterRegistry (PrometheusConfig .DEFAULT )
19
16
private val varselRepository = VarselRepository (database)
20
17
21
18
private val broadcaster = MessageBroadcaster (listOf (
@@ -25,7 +22,6 @@ class VarselPerDagSubscriberTest {
25
22
@AfterEach
26
23
fun cleanDb () {
27
24
database.update { queryOf(" delete from varsler_per_dag" ) }
28
- registry.clear()
29
25
}
30
26
31
27
@Test
You can’t perform that action at this time.
0 commit comments