mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
Fix MongoDB tests.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user