Skip to content

Commit

Permalink
#1084: additional tests for verification
Browse files Browse the repository at this point in the history
  • Loading branch information
phjulia committed Sep 8, 2023
1 parent 4f35004 commit 3c82b21
Show file tree
Hide file tree
Showing 16 changed files with 296 additions and 49 deletions.
12 changes: 12 additions & 0 deletions test/resources/9999999/automation/build-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@
{
"name": "testTemplated_verification_updateNotificationsEmail",
"r__type": "verification"
},
{
"name": "testTemplated_verification_NOTupdateNotificationsEmail",
"r__type": "verification"
},
{
"name": "testTemplated_verification_NOTupdateNotificationsNote",
"r__type": "verification"
},
{
"name": "testTemplated_verification_clear",
"r__type": "verification"
}
],
"name": ""
Expand Down
12 changes: 12 additions & 0 deletions test/resources/9999999/automation/retrieve-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@
{
"name": "testExisting_verification_updateNotificationsEmail",
"r__type": "verification"
},
{
"name": "testExisting_verification_NOTupdateNotificationsEmail",
"r__type": "verification"
},
{
"name": "testExisting_verification_NOTupdateNotificationsNote",
"r__type": "verification"
},
{
"name": "testExisting_verification_clear",
"r__type": "verification"
}
],
"name": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
| _1.7: verification_<br>testExisting_39f6a488-20eb-4ba0-b0b9 |
| _1.8: verification_<br>testExisting_verification_updateNotificationsNote |
| _1.9: verification_<br>testExisting_verification_updateNotificationsEmail |
| _1.10: verification_<br>testExisting_verification_NOTupdateNotificationsEmail |
| _1.11: verification_<br>testExisting_verification_NOTupdateNotificationsNote |
| _1.12: verification_<br>testExisting_verification_clear |
12 changes: 12 additions & 0 deletions test/resources/9999999/automation/template-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@
{
"name": "{{{prefix}}}verification_updateNotificationsEmail",
"r__type": "verification"
},
{
"name": "{{{prefix}}}verification_NOTupdateNotificationsEmail",
"r__type": "verification"
},
{
"name": "{{{prefix}}}verification_NOTupdateNotificationsNote",
"r__type": "verification"
},
{
"name": "{{{prefix}}}verification_clear",
"r__type": "verification"
}
],
"name": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,27 @@
"activityObjectId": "testExisting_verification_updateNotificationsEmail",
"objectTypeId": 1000,
"displayOrder": 9
},
{
"id": "f3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_dataExtension",
"activityObjectId": "testExisting_verification_NOTupdateNotificationsEmail",
"objectTypeId": 1000,
"displayOrder": 10
},
{
"id": "f3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_dataExtension",
"activityObjectId": "testExisting_verification_NOTupdateNotificationsNote",
"objectTypeId": 1000,
"displayOrder": 11
},
{
"id": "f3774dc2-a271-4a44-8cbe-f630a6d6545e",
"name": "testExisting_dataExtension",
"activityObjectId": "testExisting_verification_clear",
"objectTypeId": 1000,
"displayOrder": 12
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_NOTupdateNotificationsEmail",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_NOTupdateNotificationsEmail",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_NOTupdateNotificationsNote",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "test",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_NOTupdateNotificationsEmail",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "test",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_clear",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": false,
"notificationEmailAddress": "[email protected]",
"notificationEmailMessage": "test",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"dataVerificationDefinitionId": "testExisting_verification_clear",
"targetObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7",
"verificationType": "IsEqualTo",
"value1": 1,
"value2": 0,
"shouldStopOnFailure": true,
"shouldEmailOnFailure": true,
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"createdBy": 700301950
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"dataVerificationDefinitionId": "testExisting_verification_NOTupdateNotificationsEmail",
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
"shouldEmailOnFailure": false,
"shouldStopOnFailure": true,
"value1": 1,
"value2": 0,
"verificationType": "IsEqualTo"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dataVerificationDefinitionId": "testExisting_verification_updateNotificationsEmail",
{
"dataVerificationDefinitionId": "testExisting_verification_clear",
"notificationEmailAddress": "",
"notificationEmailMessage": "",
"r__dataExtension_CustomerKey": "testExisting_dataExtension",
Expand Down
Loading

0 comments on commit 3c82b21

Please sign in to comment.