From bd448743c974447520650949c3f973a05836bf5b Mon Sep 17 00:00:00 2001 From: Jillian Vogel Date: Wed, 11 Sep 2024 12:16:34 +0930 Subject: [PATCH] test: fixed failing test after refactor --- openedx/core/djangoapps/content/search/tests/test_documents.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openedx/core/djangoapps/content/search/tests/test_documents.py b/openedx/core/djangoapps/content/search/tests/test_documents.py index 62ae6d66593a..d972c9ac4956 100644 --- a/openedx/core/djangoapps/content/search/tests/test_documents.py +++ b/openedx/core/djangoapps/content/search/tests/test_documents.py @@ -19,6 +19,7 @@ from ..documents import ( searchable_doc_for_course_block, searchable_doc_tags, + searchable_doc_collections, searchable_doc_for_collection, searchable_doc_for_library_block, ) @@ -261,6 +262,7 @@ def test_html_library_block(self): doc = {} doc.update(searchable_doc_for_library_block(self.library_block)) doc.update(searchable_doc_tags(self.library_block.usage_key)) + doc.update(searchable_doc_collections(self.library_block.usage_key)) assert doc == { "id": "lbedx2012_fallhtmltext2-4bb47d67", "type": "library_block",