diff --git a/api/institutions/authentication.py b/api/institutions/authentication.py index 0f5016a0719..cd4557a7871 100644 --- a/api/institutions/authentication.py +++ b/api/institutions/authentication.py @@ -61,7 +61,7 @@ 'criteria_action': SsoFilterCriteriaAction.EQUALS_TO.value, 'criteria_value': 'http://directory.manchester.ac.uk/epe/3rdparty/osf', }, - 'yalelaw': { + 'yls': { 'criteria_action': SsoFilterCriteriaAction.IN.value, 'criteria_value': ['Yes', 'yes', 'y'], }, diff --git a/api_tests/institutions/views/test_institution_auth.py b/api_tests/institutions/views/test_institution_auth.py index aa8992d97f4..b46efd51ef3 100644 --- a/api_tests/institutions/views/test_institution_auth.py +++ b/api_tests/institutions/views/test_institution_auth.py @@ -120,7 +120,7 @@ def institution_selective_type_1(): @pytest.fixture() def institution_selective_type_2(): institution = InstitutionFactory() - institution._id = 'yalelaw' + institution._id = 'yls' institution.save() return institution