Skip to content

Commit 77b5c78

Browse files
GODRIVER-3565 Use integration test connection string
1 parent d6bb472 commit 77b5c78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mongo/gridfs_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ func TestGridFS(t *testing.T) {
112112
}
113113

114114
func TestGridFSFile_UnmarshalBSON(t *testing.T) {
115-
client, err := Connect()
115+
cs := integtest.ConnString(t)
116+
117+
client, err := Connect(options.Client().ApplyURI(cs.Original))
116118
require.NoError(t, err)
117119

118120
defer func() {

0 commit comments

Comments
 (0)