build: remove unused testcontainers dependency
This commit is contained in:
@@ -255,6 +255,21 @@ class MavenModuleProfileTest {
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void buildSurfaceDoesNotManageTestcontainersWhenKafkaTestsUseInMemoryFakes() throws Exception {
|
||||
Document pom = rootPom();
|
||||
Document kafkaSinkPom = modulePom("modules/sinks/sink-kafka/pom.xml");
|
||||
|
||||
assertThat(hasProjectProperty(pom, "testcontainers.version"))
|
||||
.isFalse();
|
||||
assertThat(hasDependency(pom, "org.testcontainers", "testcontainers-bom"))
|
||||
.isFalse();
|
||||
assertThat(hasDependency(kafkaSinkPom, "org.testcontainers", "kafka"))
|
||||
.isFalse();
|
||||
assertThat(javaSourcesContain("import org." + "testcontainers"))
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
||||
String runbook = Files.readString(repositoryRoot()
|
||||
|
||||
@@ -49,11 +49,6 @@
|
||||
<groupId>io.github.resilience4j</groupId>
|
||||
<artifactId>resilience4j-circuitbreaker</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testcontainers</groupId>
|
||||
<artifactId>kafka</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user