From 1fb3642701bd2618948b30fa97b87fc162e23a51 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 10 May 2021 00:27:20 +0200 Subject: [PATCH] sources/oauth: fix google tests Signed-off-by: Jens Langhammer --- authentik/sources/oauth/tests/test_type_google.py | 1 - 1 file changed, 1 deletion(-) diff --git a/authentik/sources/oauth/tests/test_type_google.py b/authentik/sources/oauth/tests/test_type_google.py index 6f79f8a2d..8c7b8fe05 100644 --- a/authentik/sources/oauth/tests/test_type_google.py +++ b/authentik/sources/oauth/tests/test_type_google.py @@ -33,6 +33,5 @@ class TestTypeGoogle(TestCase): def test_enroll_context(self): """Test Google Enrollment context""" ak_context = GoogleOAuth2Callback().get_user_enroll_context(GOOGLE_USER) - self.assertEqual(ak_context["username"], GOOGLE_USER["email"]) self.assertEqual(ak_context["email"], GOOGLE_USER["email"]) self.assertEqual(ak_context["name"], GOOGLE_USER["name"])