Skip to content

Commit

Permalink
Use new constructor as per testcontainers#2839
Browse files Browse the repository at this point in the history
  • Loading branch information
silaev committed Jul 28, 2020
1 parent 442d2e5 commit d02daf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void shouldExecuteTransactions() {
@Test
public void shouldTestDatabaseName() {
try (
final MongoDBContainer mongoDBContainer = new MongoDBContainer()
final MongoDBContainer mongoDBContainer = new MongoDBContainer(DockerImageName.parse("mongo:4.0.10"))
) {
mongoDBContainer.start();
final String databaseName = "my-db";
Expand Down

0 comments on commit d02daf7

Please sign in to comment.