Commit 4a4e97ea by muzaffaryousaf

Fixing the failing test.

TNL-900
parent b891be00
...@@ -521,7 +521,7 @@ class TestCourseStaff(XBlockHandlerTestCase): ...@@ -521,7 +521,7 @@ class TestCourseStaff(XBlockHandlerTestCase):
# If we're not course staff, we shouldn't be able to see the # If we're not course staff, we shouldn't be able to see the
# cancel submission option # cancel submission option
xblock.xmodule_runtime = self._create_mock_runtime( xblock.xmodule_runtime = self._create_mock_runtime(
xblock.scope_ids.usage_id, True, False, "Bob" xblock.scope_ids.usage_id, False, False, "Bob"
) )
resp = self.request(xblock, 'cancel_submission', json.dumps({})) resp = self.request(xblock, 'cancel_submission', json.dumps({}))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment