File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/MongoDB.Driver.Tests/Search Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public AtlasSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHel
6666 var mongoClientSettings = MongoClientSettings . FromConnectionString ( atlasSearchUri ) ;
6767 mongoClientSettings . ClusterSource = DisposingClusterSource . Instance ;
6868
69- _mongoClient = new MongoClient ( atlasSearchUri ) ;
69+ _mongoClient = new MongoClient ( mongoClientSettings ) ;
7070 }
7171
7272 protected override void DisposeInternal ( ) => _mongoClient . Dispose ( ) ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public VectorSearchTests(ITestOutputHelper testOutputHelper) : base(testOutputHe
4343 var mongoClientSettings = MongoClientSettings . FromConnectionString ( atlasSearchUri ) ;
4444 mongoClientSettings . ClusterSource = DisposingClusterSource . Instance ;
4545
46- _mongoClient = new MongoClient ( atlasSearchUri ) ;
46+ _mongoClient = new MongoClient ( mongoClientSettings ) ;
4747 }
4848
4949 protected override void DisposeInternal ( ) => _mongoClient . Dispose ( ) ;
You can’t perform that action at this time.
0 commit comments