mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
16 lines
491 B
Kotlin
16 lines
491 B
Kotlin
package com.github.dannecron.demo
|
|
|
|
import com.github.dannecron.demo.core.config.properties.ValidationProperties
|
|
import org.springframework.boot.test.context.TestConfiguration
|
|
import org.springframework.context.annotation.Bean
|
|
|
|
open class BaseUnitTest {
|
|
@TestConfiguration
|
|
class TestConfig {
|
|
@Bean
|
|
fun validationProperties(): ValidationProperties = ValidationProperties(
|
|
schema = mapOf("kafka-product-sync" to "kafka/product/sync.json"),
|
|
)
|
|
}
|
|
}
|