Skip to content

Commit

Permalink
Fjernet ubrukt parameter (TransactionTemplate)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kroken committed Sep 27, 2023
1 parent b025f43 commit 3cd7d92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import java.time.Instant.now
@Service
class StatusService(
private val repo: BarnetrygdInnlesingRepository,
private val transactionTemplate: TransactionTemplate,
) {
companion object {
private val log = LoggerFactory.getLogger(this::class.java)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object StatusServiceTest : SpringContextTest.NoKafka() {
flyway.migrate()
innlesingRepository =
BarnetrygdInnlesingRepository(NamedParameterJdbcTemplate(dataSource))
statusService = StatusService(innlesingRepository, TransactionTemplate())
statusService = StatusService(innlesingRepository)
}

// @Disabled
Expand Down

0 comments on commit 3cd7d92

Please sign in to comment.