From 5080840ed9394e21fb455726ec290f248f89c7e9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 17 May 2022 10:00:26 +0200 Subject: [PATCH] admin: ensure disable_update_check is set to false for tests Signed-off-by: Jens Langhammer --- authentik/admin/tests/test_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/admin/tests/test_tasks.py b/authentik/admin/tests/test_tasks.py index 97dec3854..b6720623e 100644 --- a/authentik/admin/tests/test_tasks.py +++ b/authentik/admin/tests/test_tasks.py @@ -26,7 +26,7 @@ class TestAdminTasks(TestCase): def test_version_valid_response(self): """Test Update checker with valid response""" - with Mocker() as mocker: + with Mocker() as mocker, CONFIG.patch("disable_update_check", False): mocker.get("https://version.goauthentik.io/version.json", json=RESPONSE_VALID) update_latest_version.delay().get() self.assertEqual(cache.get(VERSION_CACHE_KEY), "99999999.9999999")