Add UpdateSet, Relaxed in client, Fix tests
This commit is contained in:
@@ -25,8 +25,12 @@ func TestCreateIndexes(t *testing.T) {
|
||||
|
||||
c := GetMongoClient()
|
||||
|
||||
c.SetRelaxed()
|
||||
|
||||
collection := c.GetCollection("mydb", "mycol")
|
||||
|
||||
c.SetStrict()
|
||||
|
||||
c.CreateIndexes(collection, cd)
|
||||
|
||||
indexView := collection.Indexes()
|
||||
|
||||
Reference in New Issue
Block a user