Skip to content

Commit

Permalink
GODRIVER-979 Remove context usage in bucket test
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Nov 30, 2023
1 parent 67e361b commit f4eb68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongo/gridfs/bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestBucket_openDownloadStream(t *testing.T) {
cs := integtest.ConnString(t)
clientOpts := options.Client().ApplyURI(cs.Original)

client, err := mongo.Connect(context.Background(), clientOpts)
client, err := mongo.Connect(clientOpts)
assert.Nil(t, err, "Connect error: %v", err)

db := client.Database("bucket")
Expand Down

0 comments on commit f4eb68f

Please sign in to comment.