Skip to content

Commit c9bfb30

Browse files
committedMar 25, 2021
Update model.indexes.test.js
1 parent 4e74ea7 commit c9bfb30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎test/model.indexes.test.js

-2
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,6 @@ describe('model', function() {
668668
});
669669
it('should prevent collation on text indexes (gh-10044)', function() {
670670
return co(function*() {
671-
yield db.db.collection('User').drop().catch(() => {});
672-
673671
const userSchema = new mongoose.Schema({ username: String }, {
674672
collation: {
675673
locale: 'en',

0 commit comments

Comments
 (0)
Please sign in to comment.