feat: Added support for enterprise id in course_grade_passed_first_time event

This commit is contained in:
RehanAziz
2021-09-28 18:52:15 +05:00
parent f248f4f80e
commit 3633cdbc01
5 changed files with 87 additions and 3 deletions

View File

@@ -469,6 +469,7 @@ class TestEnterpriseUtils(TestCase):
) as mock_cache_set:
EnterpriseCustomerUserFactory.create(active=True, user_id=self.user.id)
assert is_enterprise_learner(self.user)
assert is_enterprise_learner(self.user.id)
assert mock_cache_set.called