Skip to content

Commit

Permalink
chore: refer to correct issue #7178
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Oct 31, 2018
1 parent 22ed5d2 commit 4121629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/model.findOneAndUpdate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ describe('model: findOneAndUpdate:', function() {
});
});

it('strictQuery option (gh-4136) (gh-7152)', function() {
it('strictQuery option (gh-4136) (gh-7178)', function() {
const modelSchema = new Schema({
field: Number,
nested: { path: String }
Expand All @@ -1669,7 +1669,7 @@ describe('model: findOneAndUpdate:', function() {
assert.ok(err);
assert.ok(err.message.indexOf('strictQuery') !== -1, err.message);

// Shouldn't throw on nested path re: gh-7152
// Shouldn't throw on nested path re: gh-7178
yield Model.create({ nested: { path: 'a' } });
const doc = yield Model.findOne({ nested: { path: 'a' } });
assert.ok(doc);
Expand Down

0 comments on commit 4121629

Please sign in to comment.