Closed
Description
Describe the bug
Generated tests fail when executed.
How to Reproduce
Execute the generator with some asyncapi.yaml, and run gradlew build of generated service.
Expected behavior
It should not fail.
TEST-com.asyncapi.TestcontainerKafkaTest.zip
How to fix
Updated dependencies of generated build.gradle:
--- a/build.gradle
+++ b/build.gradle
@@ -16,11 +16,11 @@ dependencies {
implementation('org.springframework.kafka:spring-kafka')
testImplementation('org.springframework.kafka:spring-kafka-test')
testImplementation('junit:junit:4.12')
- testCompile('org.testcontainers:kafka:1.14.1')
+ testCompile('org.testcontainers:kafka:1.15.1')
implementation('com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider')
implementation('com.fasterxml.jackson.datatype:jackson-datatype-jsr310')
implementation('javax.validation:validation-api')
implementation('org.springframework.boot:spring-boot-starter-integration')
testImplementation('org.springframework.boot:spring-boot-starter-test')
- testCompile('org.testcontainers:testcontainers:1.14.1')
+ testCompile('org.testcontainers:testcontainers:1.15.1')
}