Skip to content

Commit

Permalink
#1084: positive tests for updatenotifications verifications
Browse files Browse the repository at this point in the history
  • Loading branch information
phjulia committed Sep 7, 2023
1 parent a31aa38 commit 4f35004
Show file tree
Hide file tree
Showing 15 changed files with 180 additions and 49 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsEmail",
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
"shouldEmailOnFailure": true,
"shouldStopOnFailure": true,
"value1": 1,
"value2": 0,
"verificationType": "IsEqualTo"
}
8 changes: 8 additions & 0 deletions test/resources/9999999/automation/build-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
{
"name": "testTemplated_39f6a488-20eb-4ba0-b0b9",
"r__type": "verification"
},
{
"name": "testTemplated_verification_updateNotificationsNote",
"r__type": "verification"
},
{
"name": "testTemplated_verification_updateNotificationsEmail",
"r__type": "verification"
}
],
"name": ""
Expand Down
8 changes: 8 additions & 0 deletions test/resources/9999999/automation/retrieve-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
{
"name": "testExisting_39f6a488-20eb-4ba0-b0b9",
"r__type": "verification"
},
{
"name": "testExisting_verification_updateNotificationsNote",
"r__type": "verification"
},
{
"name": "testExisting_verification_updateNotificationsEmail",
"r__type": "verification"
}
],
"name": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
| _1.5: query_<br>testExisting_query |
| _1.6: script_<br>testExisting_script |
| _1.7: verification_<br>testExisting_39f6a488-20eb-4ba0-b0b9 |
| _1.8: verification_<br>testExisting_verification_updateNotificationsNote |
| _1.9: verification_<br>testExisting_verification_updateNotificationsEmail |
8 changes: 8 additions & 0 deletions test/resources/9999999/automation/template-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
{
"name": "{{{prefix}}}39f6a488-20eb-4ba0-b0b9",
"r__type": "verification"
},
{
"name": "{{{prefix}}}verification_updateNotificationsNote",
"r__type": "verification"
},
{
"name": "{{{prefix}}}verification_updateNotificationsEmail",
"r__type": "verification"
}
],
"name": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@
"activityObjectId": "testExisting_39f6a488-20eb-4ba0-b0b9",
"objectTypeId": 1000,
"displayOrder": 7
},
{
"id": "f3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_dataExtension",
"activityObjectId": "testExisting_verification_updateNotificationsNote",
"objectTypeId": 1000,
"displayOrder": 8
},
{
"id": "f3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_dataExtension",
"activityObjectId": "testExisting_verification_updateNotificationsEmail",
"objectTypeId": 1000,
"displayOrder": 9
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "[email protected]",
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsEmail",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": true,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsNote",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsNote",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": true,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "test",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "",
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
"shouldEmailOnFailure": false,
"shouldEmailOnFailure": true,
"shouldStopOnFailure": true,
"value1": 1,
"value2": 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dataVerificationDefinitionId": "testExisting_verification._updateNotificationsEmail",
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsNote",
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "",
"notificationEmailMessage": "test",
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
"shouldEmailOnFailure": true,
"shouldStopOnFailure": true,
Expand Down
Loading

0 comments on commit 4f35004

Please sign in to comment.