Skip to content

Commit d937726

Browse files
committedFeb 25, 2024·
Merge branch '6.x' into vkarpov15/gh-14372
2 parents 45f5c4c + ac9ea01 commit d937726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/connection.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ describe('connections:', function() {
15421542
it('should not throw an error when attempting to mutate unmutable options object gh-13335', async function() {
15431543
const m = new mongoose.Mongoose();
15441544
const opts = Object.preventExtensions({});
1545-
const conn = await m.connect('mongodb://localhost:27017/db?retryWrites=true&w=majority&readPreference=secondaryPreferred', opts);
1545+
const conn = await m.connect('mongodb://127.0.0.1:27017/db?retryWrites=true&w=majority&readPreference=secondaryPreferred', opts);
15461546
assert.ok(conn);
15471547
});
15481548
});

0 commit comments

Comments
 (0)
Please sign in to comment.