chore: refine source param in dsc url

This commit is contained in:
muhammad-ammar
2022-06-16 19:13:08 +05:00
parent 9762ccf5cd
commit dd70066644
3 changed files with 6 additions and 5 deletions

View File

@@ -712,7 +712,7 @@ class TestEnterpriseApi(EnterpriseServiceMockMixin, CacheIsolationTestCase):
expected_path = '/courses/course-v1:edX+DemoX+Demo_Course/courseware'
expected_url_args = {
'course_id': ['course-v1:edX+DemoX+Demo_Course'],
'source': ['lms-courseware'],
'source': ['lms'],
'failure_url': ['http://localhost:8000/dashboard?consent_failed=course-v1%3AedX%2BDemoX%2BDemo_Course'],
'enterprise_customer_uuid': ['cf246b88-d5f6-4908-a522-fc307e0b0c59'],
'next': [f'http://localhost:8000{expected_path}']