Fix social_account_providers endpoint test
This commit is contained in:
parent
382e0439e7
commit
4e9ac3edb2
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user