Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Sep 23, 2019
1 parent 952120a commit d8cc819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/query.toconstructor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ describe('Query:', function() {
});

it('works with entries-style sort() syntax (gh-8159)', function() {
const Model = mongoose.model('Test', Schema({ name: String }));
const Model = mongoose.model('gh8159', Schema({ name: String }));

const query = Model.find().sort([['name', 1]]);
const Query = query.toConstructor();
Expand Down

0 comments on commit d8cc819

Please sign in to comment.