From cadcf383fc67edd376e9fdd60e6fcaf90feb6fc7 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Thu, 25 Apr 2024 12:24:31 -0400 Subject: [PATCH] Update test/document.test.js Co-authored-by: hasezoey --- test/document.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/document.test.js b/test/document.test.js index 1ea50588c3..017845b8de 100644 --- a/test/document.test.js +++ b/test/document.test.js @@ -13068,12 +13068,12 @@ describe('document', function() { jsonField: JsonFieldSchema }); - const blogPostSchema = new Schema({ + const BlogPostSchema = new Schema({ comment: CommentSchema }); const Comments = db.model('Comments', CommentSchema); - const BlogPost = db.model('BlogPost', blogPostSchema); + const BlogPost = db.model('BlogPost', BlogPostSchema); const comment1 = new Comments({}); comment1.init({