Skip to content

Commit

Permalink
feature(#8) fixed test config
Browse files Browse the repository at this point in the history
  • Loading branch information
stoerti committed Jun 4, 2024
1 parent 02275b2 commit ddfccbd
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import org.axonframework.eventhandling.tokenstore.inmemory.InMemoryTokenStore
import org.axonframework.eventsourcing.eventstore.inmemory.InMemoryEventStorageEngine
import org.axonframework.modelling.saga.repository.inmemory.InMemorySagaStore
import org.axonframework.spring.config.SpringConfigurer
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Primary

Expand All @@ -33,9 +34,4 @@ class ITestConfiguration {
@Bean
fun sagaStore() = InMemorySagaStore()

@Bean
fun deadlineManager(configurer: SpringConfigurer, transactionManager: TransactionManager): DeadlineManager =
SimpleDeadlineManager.builder().scopeAwareProvider(ConfigurationScopeAwareProvider(configurer.buildConfiguration()))
.transactionManager(transactionManager).build()

}
}

0 comments on commit ddfccbd

Please sign in to comment.