mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
move producing to sub-project
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
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"),
|
||||
)
|
||||
}
|
||||
class TestConfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user