Fix MongoDB tests.

This commit is contained in:
Max Schaefer
2020-05-13 15:25:54 +01:00
parent 2089cb4543
commit e034458574
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import (
"go.mongodb.org/mongo-driver/mongo"
)
func test(coll *mongo.Collection, filter interface{}, models []WriteModel, ctx context.Context) {
func test(coll *mongo.Collection, filter interface{}, models []mongo.WriteModel, ctx context.Context) {
fieldName := "test"
document := filter

View File

@@ -193,7 +193,7 @@ func (_ *Collection) Watch(_ context.Context, _ interface{}, _ ...*interface{})
return nil, nil
}
func Connect(_ context.Context, _ ...*interface{}) (*Client, error) {
func Connect(_ context.Context, _ ...interface{}) (*Client, error) {
return nil, nil
}