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 23, 2024
1 parent e900a5e commit a64dad5
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 a64dad5

Please sign in to comment.