Fix tests

This commit is contained in:
2025-04-08 00:44:11 +02:00
parent 080ea1245d
commit cb3ec3f96c
3 changed files with 13 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ import eventDemo.business.event.projection.projectionListener.ReactionListener
import org.koin.core.Koin
fun Koin.configureGameListener() {
get<ReactionListener>()
get<GameCommandHandler>()
.subscribeToBus(get())
get<GameStateRepositoryInMemory>()
@@ -16,6 +16,6 @@ fun Koin.configureGameListener() {
get<GameListRepositoryInMemory>()
.subscribeToBus(get(), get())
get<GameCommandHandler>()
get<ReactionListener>()
.subscribeToBus(get())
}