fixup! test: Update the course in the cache after it's got new content.

This commit is contained in:
Feanil Patel
2024-09-23 13:28:39 -04:00
parent a6e5b818e2
commit 398160c2c4

View File

@@ -2230,9 +2230,6 @@ class SubsectionGradeViewTest(GradebookViewTestBase):
)
# We need to update the course in the cache after we create the new block.
# Review Question: Should we be doing this here? Does it make sense to do
# this in the xmodule/modulestore/tests/factories.py BlockFactory class
# as a part of the publish there?
bs_api.update_course_in_cache(self.course_data.course_key)
resp = self.client.get(