Fixed test

This commit is contained in:
Adrien P
2025-07-17 22:36:56 +02:00
parent 7ade9bc3a2
commit f49ce46ec3
+3 -3
View File
@@ -56,9 +56,9 @@ class CheckSessionCookieSecureTest(SimpleModoTestCase):
msgs = checks.check_dovecot_oauth_app()
self.assertEqual(len(msgs), 0)
def test_redicale_oauth_app_exists(self):
def test_radicale_oauth_app_exists(self):
get_application_model().objects.filter(name="Radicale").delete()
msgs = checks.check_dovecot_oauth_app()
msgs = checks.check_radicale_oauth_app()
self.assertEqual(len(msgs), 1)
client_secret = str(uuid.uuid4())
call_command(
@@ -70,5 +70,5 @@ class CheckSessionCookieSecureTest(SimpleModoTestCase):
"confidential",
"client-credentials",
)
msgs = checks.check_dovecot_oauth_app()
msgs = checks.check_radicale_oauth_app()
self.assertEqual(len(msgs), 0)