From 3c80e1c38b5e116df946cfa59dd14ab3fff9f261 Mon Sep 17 00:00:00 2001
From: Shreya Malviya <shreya.malviya@gmail.com>
Date: Mon, 21 Feb 2022 16:46:23 +0530
Subject: [PATCH] UT: Remove `skip_exploit_if_file_exist` config field

---
 monkey/tests/data_for_tests/monkey_configs/flat_config.json  | 1 -
 .../monkey_configs/monkey_config_standard.json               | 5 +----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/monkey/tests/data_for_tests/monkey_configs/flat_config.json b/monkey/tests/data_for_tests/monkey_configs/flat_config.json
index 5693307f2..4fdc49340 100644
--- a/monkey/tests/data_for_tests/monkey_configs/flat_config.json
+++ b/monkey/tests/data_for_tests/monkey_configs/flat_config.json
@@ -96,7 +96,6 @@
             "readme": true
         }
     },
-    "skip_exploit_if_file_exist": false,
     "smb_download_timeout": 300,
     "smb_service_name": "InfectionMonkey",
     "subnet_scan_list": ["192.168.1.50", "192.168.56.0/24", "10.0.33.0/30"],
diff --git a/monkey/tests/data_for_tests/monkey_configs/monkey_config_standard.json b/monkey/tests/data_for_tests/monkey_configs/monkey_config_standard.json
index 9552d4da9..8080b27cf 100644
--- a/monkey/tests/data_for_tests/monkey_configs/monkey_config_standard.json
+++ b/monkey/tests/data_for_tests/monkey_configs/monkey_config_standard.json
@@ -118,10 +118,7 @@
       "exploits": {
         "exploit_lm_hash_list": [],
         "exploit_ntlm_hash_list": [],
-        "exploit_ssh_keys": [],
-        "general": {
-          "skip_exploit_if_file_exist": false
-        }
+        "exploit_ssh_keys": []
       },
       "testing": {
         "export_monkey_telems": false