Fix social_account_providers endpoint test

This commit is contained in:
shamoon 2024-02-04 22:22:29 -08:00
parent 382e0439e7
commit 4e9ac3edb2

View File

@ -125,9 +125,18 @@ class TestApiProfile(DirectoriesMixin, APITestCase):
- Social account providers are returned - Social account providers are returned
""" """
response = self.client.get(f"{self.ENDPOINT}social_account_providers") response = self.client.get(f"{self.ENDPOINT}social_account_providers/")
self.assertEqual(response.status_code, status.HTTP_200_OK) self.assertEqual(response.status_code, status.HTTP_200_OK)
self.assertEqual(
response.data,
[
{
"login_url": "/accounts/oidc/keycloak-test/login/?process=connect",
"name": "Keycloak",
},
],
)
def test_disconnect_social_account(self): def test_disconnect_social_account(self):
""" """