Skip to content

Commit

Permalink
test: clean up test failure re: #8814
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jul 28, 2021
1 parent 65f17dc commit 3b6e6b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/model.indexes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ describe('model', function() {
collation: {
locale: 'en',
strength: 2
}
},
autoCreate: false
});
userSchema.index({ username: 'text' }, { unique: true });
const User = db.model('User', userSchema, 'User');
Expand Down

0 comments on commit 3b6e6b6

Please sign in to comment.