diff --git a/test/resources/9999999/automation/patch_fixKeys-pause-expected.json b/test/resources/9999999/automation/patch_fixKeys-pause-expected.json
new file mode 100644
index 000000000..67ad413f2
--- /dev/null
+++ b/test/resources/9999999/automation/patch_fixKeys-pause-expected.json
@@ -0,0 +1,44 @@
+{
+ "description": "testing fixKey on an a paused automation",
+ "key": "testExisting_automation_fixedKey_paused",
+ "name": "testExisting_automation_fixedKey_paused",
+ "r__folder_Path": "my automations",
+ "schedule": {
+ "endDate": "2022-07-30T00:00:00",
+ "icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
+ "startDate": "2022-07-30T00:00:00",
+ "timezoneName": "W. Europe Standard Time"
+ },
+ "status": "PausedSchedule",
+ "steps": [
+ {
+ "activities": [
+ {
+ "name": "testExisting_dataExtract",
+ "r__type": "dataExtract"
+ },
+ {
+ "name": "testExisting_emailSend",
+ "r__type": "emailSend"
+ },
+ {
+ "name": "testExisting_fileTransfer",
+ "r__type": "fileTransfer"
+ },
+ {
+ "name": "testExisting_importFile",
+ "r__type": "importFile"
+ },
+ {
+ "name": "testExisting_query",
+ "r__type": "query"
+ },
+ {
+ "name": "testExisting_script",
+ "r__type": "script"
+ }
+ ]
+ }
+ ],
+ "type": "scheduled"
+}
diff --git a/test/resources/9999999/automation/patch_fixKeys-expected.json b/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json
similarity index 85%
rename from test/resources/9999999/automation/patch_fixKeys-expected.json
rename to test/resources/9999999/automation/patch_fixKeys-schedule-expected.json
index 65a3a3c3a..7ac22ba98 100644
--- a/test/resources/9999999/automation/patch_fixKeys-expected.json
+++ b/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json
@@ -1,7 +1,7 @@
{
- "description": "updated on deploy",
- "key": "testExisting_automation_paused",
- "name": "testExisting_automation_paused",
+ "description": "testing fixKey on an a scheduled automation",
+ "key": "testExisting_automation_fixedKey_scheduled",
+ "name": "testExisting_automation_fixedKey_scheduled",
"r__folder_Path": "my automations",
"schedule": {
"endDate": "2022-07-30T00:00:00",
@@ -37,8 +37,7 @@
"name": "testExisting_script",
"r__type": "script"
}
- ],
- "name": ""
+ ]
}
],
"type": "scheduled"
diff --git a/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-pause-response.xml b/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml
similarity index 92%
rename from test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-pause-response.xml
rename to test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml
index 1290defa5..d301c7cee 100644
--- a/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-pause-response.xml
+++ b/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml
@@ -25,8 +25,8 @@
Performed Activity