Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow MongoDb module configuration without credentials #983

Merged
Prev Previous commit
Next Next commit
Update src/Testcontainers.MongoDb/MongoDbBuilder.cs
Co-authored-by: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com>
  • Loading branch information
the-avid-engineer and HofmeisterAn authored Aug 30, 2023
commit a0c12be3deec80d4d23addee8140a2de8f630b0d
2 changes: 1 addition & 1 deletion src/Testcontainers.MongoDb/MongoDbBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public sealed class MongoDbBuilder : ContainerBuilder<MongoDbBuilder, MongoDbCon
/// <summary>
/// Initializes a new instance of the <see cref="MongoDbBuilder" /> class.
/// </summary>
/// <param name="useDefaultCredentials">When set to <c>false</c>, mongodb will run without authentication unless you explicitly specify credentials</param>
/// <param name="useDefaultCredentials">When set to <c>false</c>, MongoDb will run without authentication unless you explicitly specify a username and password.</param>
public MongoDbBuilder(bool useDefaultCredentials = true)
: this(new MongoDbConfiguration())
{
Expand Down