Merge pull request #32928 from openedx/sr-pact-provider

feat: Pact Provider Verification for Profile Endpoint
This commit is contained in:
Swayam Rana
2023-08-14 10:13:01 -04:00
committed by GitHub
6 changed files with 205 additions and 1 deletions

View File

@@ -11,4 +11,7 @@ PROVIDER_STATES_URL = True
MOCK_USERNAME = 'Mock User'
######################### Add Authentication Middleware for Pact Verification Calls #########################
MIDDLEWARE = MIDDLEWARE + ['common.test.pacts.middleware.AuthenticationMiddleware', ]
MIDDLEWARE = MIDDLEWARE + [
'common.test.pacts.middleware.AuthenticationMiddleware',
'openedx.core.djangoapps.user_api.accounts.tests.pact.user-middleware',
]