Skip to content

Commit

Permalink
Update model.indexes.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
IslandRhythms committed Mar 25, 2021
1 parent 4e74ea7 commit c9bfb30
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/model.indexes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,6 @@ describe('model', function() {
});
it('should prevent collation on text indexes (gh-10044)', function() {
return co(function*() {
yield db.db.collection('User').drop().catch(() => {});

const userSchema = new mongoose.Schema({ username: String }, {
collation: {
locale: 'en',
Expand Down

0 comments on commit c9bfb30

Please sign in to comment.