feat: Added enterprise uuid in event context for enterprise enrolment events
This commit is contained in:
@@ -174,7 +174,11 @@ class GradesEventIntegrationTest(ProblemSubmissionTestMixin, SharedModuleStoreTe
|
||||
|
||||
# make sure the tracker's context is updated with course info
|
||||
for args in events_tracker.get_tracker().context.call_args_list:
|
||||
assert args[0][1] == {'course_id': str(self.course.id), 'org_id': str(self.course.org)}
|
||||
assert args[0][1] == {
|
||||
'course_id': str(self.course.id),
|
||||
'enterprise_uuid': '',
|
||||
'org_id': str(self.course.org)
|
||||
}
|
||||
|
||||
event_transaction_id = events_tracker.emit.mock_calls[0][1][1]['event_transaction_id']
|
||||
events_tracker.emit.assert_has_calls(
|
||||
|
||||
Reference in New Issue
Block a user