Skip to content

Commit

Permalink
Oppdater pipeline og legg til metrikker
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 committed Oct 6, 2023
1 parent 4735229 commit 761a84b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
build:
if: github.event.pull_request.draft == 'false'
if: github.event.pull_request.draft == false
permissions:
contents: "read"
id-token: "write"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package no.nav.bidrag.grunnlag.service

import io.micrometer.core.instrument.Counter
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.simple.SimpleMeterRegistry
import no.nav.bidrag.domain.enums.BarnType
import no.nav.bidrag.domain.enums.Formaal
import no.nav.bidrag.domain.enums.Sivilstandstype
Expand Down Expand Up @@ -49,7 +52,9 @@ import org.mockito.Captor
import org.mockito.InjectMocks
import org.mockito.Mock
import org.mockito.Mockito
import org.mockito.Spy
import org.mockito.junit.jupiter.MockitoExtension
import org.mockito.kotlin.any
import java.math.BigDecimal
import java.time.LocalDate

Expand All @@ -63,6 +68,9 @@ class GrunnlagspakkeServiceMockTest {
@Mock
private lateinit var persistenceServiceMock: PersistenceService

@Spy
private var meterRegistry: MeterRegistry = SimpleMeterRegistry()

@Mock
private lateinit var oppdaterGrunnlagspakkeService: OppdaterGrunnlagspakkeService

Expand Down

0 comments on commit 761a84b

Please sign in to comment.