Skip to content

Commit

Permalink
fix: id_manager
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Feb 26, 2024
1 parent c861760 commit 090b1db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xblock/test/toy_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ class ToyRuntime(Runtime):
# pylint: disable=abstract-method

def __init__(self, user_id=None):
super().__init__(ID_MANAGER, services={'field-data': KvsFieldData(TOYRUNTIME_KVS)})
self.id_generator = ID_MANAGER
super().__init__(ID_MANAGER, ID_MANAGER, services={'field-data': KvsFieldData(TOYRUNTIME_KVS)})
self.user_id = user_id

def render_template(self, template_name, **kwargs):
Expand Down

0 comments on commit 090b1db

Please sign in to comment.