diff --git a/monkey/tests/unit_tests/monkey_island/cc/resources/test_island_mode.py b/monkey/tests/unit_tests/monkey_island/cc/resources/test_island_mode.py index 435680bfe..0952f2b43 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/resources/test_island_mode.py +++ b/monkey/tests/unit_tests/monkey_island/cc/resources/test_island_mode.py @@ -15,7 +15,7 @@ def uses_database(): @pytest.mark.parametrize("mode", ["ransomware", "advanced"]) def test_island_mode_post(flask_client, mode, monkeypatch): monkeypatch.setattr( - "monkey_island.cc.services.mode.set_island_mode_service.update_config_on_mode_set", + "monkey_island.cc.services.mode.island_mode_service.update_config_on_mode_set", lambda _: None, ) resp = flask_client.post(