Fix change enrollment command for credit.
Get provider id from ecommerce upon changing enrollment to credit instead of setting course_key org. LEARNER-6643
This commit is contained in:
@@ -233,7 +233,7 @@ class CreditCourseDashboardTest(ModuleStoreTestCase):
|
||||
self._make_eligible()
|
||||
|
||||
# The user should have the option to purchase credit
|
||||
with patch('student.views.dashboard.get_credit_provider_display_names') as mock_method:
|
||||
with patch('student.views.dashboard.get_credit_provider_attribute_values') as mock_method:
|
||||
mock_method.return_value = providers_list
|
||||
response = self._load_dashboard()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user