Skip to content

Commit

Permalink
fixup! test: Update the course in the cache after it's got new content.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Sep 27, 2024
1 parent c7e8816 commit e64bd7e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2230,9 +2230,6 @@ def test_get_override_for_unreleased_block(self):
)

# 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(
Expand Down

0 comments on commit e64bd7e

Please sign in to comment.