File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/java/org/testcontainers/weaviate Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ description = "Testcontainers :: Weaviate"
33dependencies {
44 api project(' :testcontainers' )
55
6+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7+
8+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
69 testImplementation ' org.assertj:assertj-core:3.27.3'
710 testImplementation ' io.weaviate:client:5.4.0'
811}
12+
13+ test {
14+ useJUnitPlatform()
15+ }
Original file line number Diff line number Diff line change 55import io .weaviate .client .base .Result ;
66import io .weaviate .client .v1 .misc .model .Meta ;
77import org .assertj .core .api .InstanceOfAssertFactories ;
8- import org .junit .Test ;
8+ import org .junit .jupiter . api . Test ;
99
1010import java .util .Arrays ;
1111import java .util .HashMap ;
1414
1515import static org .assertj .core .api .Assertions .assertThat ;
1616
17- public class WeaviateContainerTest {
17+ class WeaviateContainerTest {
1818
1919 @ Test
20- public void testWeaviate () {
20+ void testWeaviate () {
2121 try ( // container {
2222 WeaviateContainer weaviate = new WeaviateContainer ("cr.weaviate.io/semitechnologies/weaviate:1.29.0" )
2323 // }
@@ -32,7 +32,7 @@ public void testWeaviate() {
3232 }
3333
3434 @ Test
35- public void testWeaviateWithModules () {
35+ void testWeaviateWithModules () {
3636 List <String > enableModules = Arrays .asList (
3737 "backup-filesystem" ,
3838 "text2vec-openai" ,
You can’t perform that action at this time.
0 commit comments