mirror of
https://github.com/gotson/komga.git
synced 2025-12-25 09:53:20 +01:00
test: use synchronous events for tests
This commit is contained in:
parent
e019f5d505
commit
a80eb59b1b
1 changed files with 2 additions and 0 deletions
|
|
@ -2,10 +2,12 @@ package org.gotson.komga.application.events
|
|||
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.context.annotation.Profile
|
||||
import org.springframework.context.event.ApplicationEventMulticaster
|
||||
import org.springframework.context.event.SimpleApplicationEventMulticaster
|
||||
import org.springframework.core.task.AsyncTaskExecutor
|
||||
|
||||
@Profile("!test")
|
||||
@Configuration
|
||||
class AsynchronousSpringEventsConfig(
|
||||
private val applicationTaskExecutor: AsyncTaskExecutor,
|
||||
|
|
|
|||
Loading…
Reference in a new issue