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")