Skip to content

Commit

Permalink
test: fix test failing after changes to openedx-learning
Browse files Browse the repository at this point in the history
  • Loading branch information
pomegranited committed Sep 6, 2024
1 parent e20ee24 commit 9619341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openedx/core/djangoapps/content_libraries/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def test_update_library_collection_components_event(self):
"signal": CONTENT_OBJECT_ASSOCIATIONS_CHANGED,
"sender": None,
"content_object": ContentObjectChangedData(
object_id=UsageKey.from_string(self.lib1_problem_block["id"]),
object_id=self.lib1_problem_block["id"],
changes=["collections"],
),
},
Expand All @@ -454,7 +454,7 @@ def test_update_library_collection_components_event(self):
"signal": CONTENT_OBJECT_ASSOCIATIONS_CHANGED,
"sender": None,
"content_object": ContentObjectChangedData(
object_id=UsageKey.from_string(self.lib1_html_block["id"]),
object_id=self.lib1_html_block["id"],
changes=["collections"],
),
},
Expand Down

0 comments on commit 9619341

Please sign in to comment.