Add UpdateSet, Relaxed in client, Fix tests
This commit is contained in:
@@ -47,11 +47,13 @@ func TestMain(m *testing.M) {
|
||||
// 2. Get the connection string dynamically
|
||||
endpoint, _ := mongoContainer.ConnectionString(ctx)
|
||||
|
||||
mongoDebug := os.Getenv("DEBUG") != ""
|
||||
|
||||
Start(&MongoStartProps{
|
||||
MongoUri: endpoint,
|
||||
MongoUser: user,
|
||||
MongoPass: pass,
|
||||
MongoDebugQuery: false,
|
||||
MongoDebugQuery: mongoDebug,
|
||||
})
|
||||
|
||||
// 3. Run tests
|
||||
|
||||
Reference in New Issue
Block a user