File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
src/test/java/org/testcontainers/containers Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ description = "Testcontainers :: MinIO"
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(" io.minio:minio:8.5.17" )
710 testImplementation ' org.assertj:assertj-core:3.27.4'
811}
12+
13+ test {
14+ useJUnitPlatform()
15+ }
Original file line number Diff line number Diff line change 66import io .minio .StatObjectArgs ;
77import io .minio .StatObjectResponse ;
88import io .minio .UploadObjectArgs ;
9- import org .junit .Test ;
9+ import org .junit .jupiter . api . Test ;
1010
1111import java .net .URL ;
1212
1313import static org .assertj .core .api .Assertions .assertThat ;
1414
15- public class MinIOContainerTest {
15+ class MinIOContainerTest {
1616
1717 @ Test
18- public void testBasicUsage () throws Exception {
18+ void testBasicUsage () throws Exception {
1919 try (
2020 // minioContainer {
2121 MinIOContainer container = new MinIOContainer ("minio/minio:RELEASE.2023-09-04T19-57-37Z" );
@@ -57,7 +57,7 @@ public void testBasicUsage() throws Exception {
5757 }
5858
5959 @ Test
60- public void testDefaultUserPassword () {
60+ void testDefaultUserPassword () {
6161 try (MinIOContainer container = new MinIOContainer ("minio/minio:RELEASE.2023-09-04T19-57-37Z" )) {
6262 container .start ();
6363 assertThat (container .getUserName ()).isEqualTo ("minioadmin" );
@@ -66,7 +66,7 @@ public void testDefaultUserPassword() {
6666 }
6767
6868 @ Test
69- public void testOverwriteUserPassword () {
69+ void testOverwriteUserPassword () {
7070 try (
7171 // minioOverrides {
7272 MinIOContainer container = new MinIOContainer ("minio/minio:RELEASE.2023-09-04T19-57-37Z" )
You can’t perform that action at this time.
0 commit comments