From b22b711fd5e6b268d907e665ce35386529595a5f Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 24 Feb 2025 12:45:05 -0800 Subject: [PATCH] fix test --- tests/app/service/test_rest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/app/service/test_rest.py b/tests/app/service/test_rest.py index cd2ef8005..5668890bf 100644 --- a/tests/app/service/test_rest.py +++ b/tests/app/service/test_rest.py @@ -1668,7 +1668,9 @@ def test_remove_user_from_service(client, sample_user_service_permission): def test_get_service_message_ratio(mocker, client, sample_user_service_permission): service = sample_user_service_permission.service - mock_redis = mocker.patch("app.service.rest.redis_store.get") + mock_redis = mocker.patch( + "app.service.rest.dao_get_notification_count_for_service_message_ratio" + ) mock_redis.return_value = 1 endpoint = url_for(