Skip to content

Commit a5e4ec2

Browse files
vkarpov15hasezoey
andauthored
Update test/schema.test.js
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parent 64f2098 commit a5e4ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/schema.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ describe('schema', function() {
31833183
});
31843184

31853185
base.discriminator(1, recursive);
3186-
const TestModel = db.model('Test', base);
3186+
const TestModel = db.model('gh13978', base);
31873187

31883188
const doc = new TestModel({ type: 1, self: { type: 1 } });
31893189
assert.strictEqual(doc.self.type, 1);

0 commit comments

Comments
 (0)