Skip to content

Commit 93ab0a5

Browse files
committed
Upgrade to Testcontainers 2.0.
See spring-projects/spring-data-build#2688
1 parent 84916f2 commit 93ab0a5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

spring-data-cassandra/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164

165165
<dependency>
166166
<groupId>org.testcontainers</groupId>
167-
<artifactId>cassandra</artifactId>
167+
<artifactId>testcontainers-cassandra</artifactId>
168168
<scope>test</scope>
169169
</dependency>
170170

spring-data-cassandra/src/test/java/org/springframework/data/cassandra/core/cql/generator/AbstractKeyspaceOperationCqlGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
import java.util.UUID;
1919

20+
import org.apache.commons.lang3.StringUtils;
2021
import org.junit.jupiter.api.Test;
2122

2223
import org.springframework.data.cassandra.core.cql.keyspace.KeyspaceActionSpecification;
2324
import org.springframework.data.cassandra.core.cql.keyspace.TableNameSpecification;
2425

25-
import org.testcontainers.shaded.org.apache.commons.lang3.StringUtils;
2626

2727
/**
2828
* Useful test class that specifies just about as much as you can for a CQL generation test. Intended to be extended by

spring-data-cassandra/src/test/java/org/springframework/data/cassandra/test/util/CassandraExtension.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.util.List;
2020
import java.util.Optional;
2121

22+
import org.apache.commons.lang3.reflect.FieldUtils;
2223
import org.junit.jupiter.api.extension.AfterAllCallback;
2324
import org.junit.jupiter.api.extension.BeforeAllCallback;
2425
import org.junit.jupiter.api.extension.ExtensionContext;
@@ -30,8 +31,6 @@
3031
import org.springframework.data.cassandra.support.RandomKeyspaceName;
3132
import org.springframework.util.Assert;
3233

33-
import org.testcontainers.shaded.org.apache.commons.lang3.reflect.FieldUtils;
34-
3534
import com.datastax.oss.driver.api.core.CqlSession;
3635

3736
/**

0 commit comments

Comments
 (0)