File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/java/org/testcontainers/typesense 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 :: Typesense"
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.4'
710 testImplementation ' org.typesense:typesense-java:1.3.0'
811}
12+
13+ test {
14+ useJUnitPlatform()
15+ }
Original file line number Diff line number Diff line change 11package org .testcontainers .typesense ;
22
3- import org .junit .Test ;
3+ import org .junit .jupiter . api . Test ;
44import org .typesense .api .Client ;
55import org .typesense .api .Configuration ;
66import org .typesense .resources .Node ;
1111
1212import static org .assertj .core .api .Assertions .assertThat ;
1313
14- public class TypesenseContainerTest {
14+ class TypesenseContainerTest {
1515
1616 @ Test
17- public void query () throws Exception {
17+ void query () throws Exception {
1818 try ( // container {
1919 TypesenseContainer typesense = new TypesenseContainer ("typesense/typesense:27.1" )
2020 // }
@@ -33,7 +33,7 @@ public void query() throws Exception {
3333 }
3434
3535 @ Test
36- public void withCustomApiKey () throws Exception {
36+ void withCustomApiKey () throws Exception {
3737 try (TypesenseContainer typesense = new TypesenseContainer ("typesense/typesense:27.1" ).withApiKey ("s3cr3t" )) {
3838 typesense .start ();
3939 List <Node > nodes = Collections .singletonList (
You can’t perform that action at this time.
0 commit comments