Commit 9d01bd92 by Jesse Shapiro Committed by GitHub

Merge pull request #14567 from open-craft/haikuginger/link-user-when-consent-disabled

[ENT-210] Remove unnecessary pipeline element; use new name for existing element
parents c42bce49 ff581d00
......@@ -60,5 +60,4 @@ class SettingsUnitTest(testutil.TestCase):
@unittest.skipUnless(enterprise_enabled(), 'enterprise not enabled')
def test_enterprise_elements_inserted(self):
settings.apply_settings(self.settings)
self.assertIn('enterprise.tpa_pipeline.set_data_sharing_consent_record', self.settings.SOCIAL_AUTH_PIPELINE)
self.assertIn('enterprise.tpa_pipeline.verify_data_sharing_consent', self.settings.SOCIAL_AUTH_PIPELINE)
self.assertIn('enterprise.tpa_pipeline.handle_enterprise_logistration', self.settings.SOCIAL_AUTH_PIPELINE)
......@@ -111,8 +111,7 @@ def insert_enterprise_pipeline_elements(pipeline):
return
additional_elements = (
'enterprise.tpa_pipeline.set_data_sharing_consent_record',
'enterprise.tpa_pipeline.verify_data_sharing_consent',
'enterprise.tpa_pipeline.handle_enterprise_logistration',
)
# Find the item we need to insert the data sharing consent elements before
insert_point = pipeline.index('social.pipeline.social_auth.load_extra_data')
......
......@@ -51,7 +51,7 @@ edx-lint==0.4.3
astroid==1.3.8
edx-django-oauth2-provider==1.1.4
edx-django-sites-extensions==2.1.1
edx-enterprise==0.23.0
edx-enterprise==0.24.0
edx-oauth2-provider==1.2.0
edx-opaque-keys==0.4.0
edx-organizations==0.4.3
......
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