-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#789: add DEPLOY tests for mobileMessage
- Loading branch information
1 parent
1360c10
commit 45e5100
Showing
13 changed files
with
531 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.amp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test message jb new |
61 changes: 61 additions & 0 deletions
61
test/mockRoot/deploy/testInstance/testBU/mobileMessage/NTIzOjc4OjA.mobileMessage-meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"id": "NTIzOjc4OjA", | ||
"lastUpdated": "2023-03-08T16:30:00Z", | ||
"type": "ExactTarget.Mobile.Sms.Core.Entities.SmsMessageEntity", | ||
"name": "testExisting_mobileMessage", | ||
"origin": "SMS Send", | ||
"code": { | ||
"code": "4912312345678" | ||
}, | ||
"c__campaignNames": ["testExisting_campaign"], | ||
|
||
"mtSendDate": "2020-07-16T22:46:00Z", | ||
"template": { | ||
"id": "Mzo4MDow", | ||
"name": "Outbound" | ||
}, | ||
"status": "Active/Scheduled", | ||
"invalidMessage": "", | ||
"responseMessage": "", | ||
"publishedMessage": "Text '<keyword>' to 4912312345678.", | ||
"isTest": false, | ||
"moTimezone": { | ||
"offset": 1, | ||
"name": "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna *" | ||
}, | ||
"optinType": "NO_OPTIN", | ||
"doubleOptinInitialMessage": "", | ||
"doubleOptinConfirmMessage": "", | ||
"optinMinimumAge": 0, | ||
"optinInvalidAgeMessage": "", | ||
"numberMessagesPerPeriod": 0, | ||
"periodType": "NO_PERIOD", | ||
"optinErrorMessage": "", | ||
"isDuplicationAllowed": true, | ||
"triggeredSendName": "DEV_InformUserAboutProposal - 267", | ||
"isTimeZoneBased": false, | ||
"surveyType": "NO_SURVEY", | ||
"surveyCorrectResponseMessage": "", | ||
"surveyTooManyEntriesMessage": "", | ||
"isExpireSet": false, | ||
"expireHours": 0, | ||
"surveyIncorrectResponseMessage": "", | ||
"statusId": 2, | ||
"doubleOptinValidResponses": "y|yes", | ||
"messagesPerPeriod": 0, | ||
"minutesPerPeriod": 0, | ||
"subscriberResponseMessage": "", | ||
"isSubscriberResponseToAnySubscriptionForShortCode": false, | ||
"sendMethod": "API", | ||
"messageObjectId": "MzN3MUV5YVpmRVMtV1R1UXJUR3NzUTo2MjU6MA", | ||
"allowSingleOptin": false, | ||
"isSentImmediately": true, | ||
"isSuppressMt": false, | ||
"smsTriggeredSendDefinitionId": "39d0e022-b6c7-ea11-a2e9-1402ec938719", | ||
"fromName": "4912312345678", | ||
"concatenateMessage": true, | ||
"isFromNameCertificationAccepted": false, | ||
"isCertified": false, | ||
"outboundSendTypeFlag": "Audience", | ||
"outboundSendBehaviorFlag": "AutoAddSubscribers" | ||
} |
1 change: 1 addition & 0 deletions
1
test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.amp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
New Task Available |
60 changes: 60 additions & 0 deletions
60
test/mockRoot/deploy/testInstance/testBU/mobileMessage/new.mobileMessage-meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"id": "new", | ||
"lastUpdated": "2020-07-03T06:39:00Z", | ||
"type": "ExactTarget.Mobile.Sms.Core.Entities.SmsMessageEntity", | ||
"name": "testNew_mobileMessage", | ||
"origin": "SMS Send", | ||
"code": { | ||
"code": "4912312345678" | ||
}, | ||
"c__campaignNames": ["testExisting_campaign"], | ||
"mtSendDate": "2017-07-03T14:03:00Z", | ||
"template": { | ||
"id": "Mzo4MDow", | ||
"name": "Outbound" | ||
}, | ||
"status": "Active/Scheduled", | ||
"invalidMessage": "", | ||
"responseMessage": "", | ||
"publishedMessage": "Text '<keyword>' to 4912312345678.", | ||
"isTest": false, | ||
"moTimezone": { | ||
"offset": 1, | ||
"name": "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna *" | ||
}, | ||
"optinType": "NO_OPTIN", | ||
"doubleOptinInitialMessage": "", | ||
"doubleOptinConfirmMessage": "", | ||
"optinMinimumAge": 0, | ||
"optinInvalidAgeMessage": "", | ||
"numberMessagesPerPeriod": 0, | ||
"periodType": "NO_PERIOD", | ||
"optinErrorMessage": "", | ||
"isDuplicationAllowed": true, | ||
"triggeredSendName": "OneUserOneDevice_DEV - 93", | ||
"isTimeZoneBased": false, | ||
"surveyType": "NO_SURVEY", | ||
"surveyCorrectResponseMessage": "", | ||
"surveyTooManyEntriesMessage": "", | ||
"isExpireSet": false, | ||
"expireHours": 0, | ||
"surveyIncorrectResponseMessage": "", | ||
"statusId": 2, | ||
"doubleOptinValidResponses": "y|yes", | ||
"messagesPerPeriod": 0, | ||
"minutesPerPeriod": 0, | ||
"subscriberResponseMessage": "", | ||
"isSubscriberResponseToAnySubscriptionForShortCode": false, | ||
"sendMethod": "API", | ||
"messageObjectId": "M09MU3o1YnRMVS1GNHppZTdCRDVCdzo2MjU6MA", | ||
"allowSingleOptin": false, | ||
"isSentImmediately": true, | ||
"isSuppressMt": false, | ||
"smsTriggeredSendDefinitionId": "58d59e53-f85f-e711-80cc-1402ec7222b4", | ||
"fromName": "PMI_DEV", | ||
"concatenateMessage": false, | ||
"isFromNameCertificationAccepted": false, | ||
"isCertified": false, | ||
"outboundSendTypeFlag": "Audience", | ||
"outboundSendBehaviorFlag": "AutoAddSubscribers" | ||
} |
106 changes: 106 additions & 0 deletions
106
test/resources/9999999/legacy/v1/beta/mobile/message/NTIzOjc4OjA/post-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
{ | ||
"id": "NTIzOjc4OjA", | ||
"lastUpdated": "2023-03-08T16:30:00Z", | ||
"type": "ExactTarget.Mobile.Sms.Core.Entities.SmsMessageEntity", | ||
"name": "testExisting_mobileMessage", | ||
"text": "test message jb new", | ||
"origin": "SMS Send", | ||
"code": { | ||
"id": "RXBwc0JoNk9jVTY0YWJNWFZDaGxvdzo4MTow", | ||
"code": "4912312345678", | ||
"codeType": "PRIVATE", | ||
"isShortCode": false, | ||
"isGsmCharacterSetOnly": false, | ||
"isMms": false, | ||
"isStackIndependant": false, | ||
"dipSwitches": 0, | ||
"moEngineVersion": 0, | ||
"sendableCountries": [{ "countryCode": "HK", "vendor": "CLX", "fromNameSupported": true }], | ||
"supportsConcatenation": true, | ||
"isClientOwned": false, | ||
"isOwner": false | ||
}, | ||
"campaigns": [ | ||
{ | ||
"id": "MjMxOjQ2OjA", | ||
"name": "testExisting_campaign", | ||
"display": { | ||
"name": "color", | ||
"value": "f6efb6" | ||
} | ||
} | ||
], | ||
|
||
"mtSendDate": "2020-07-16T22:46:00Z", | ||
"template": { | ||
"id": "Mzo4MDow", | ||
"name": "Outbound" | ||
}, | ||
"status": "Active/Scheduled", | ||
"invalidMessage": "", | ||
"responseMessage": "", | ||
"publishedMessage": "Text '<keyword>' to 4912312345678.", | ||
"nextJob": { | ||
"id": "MjY3Ojc5OjA", | ||
"type": "ExactTarget.Mobile.Sms.Core.Entities.SmsJobEntity", | ||
"isTest": false, | ||
"sendDate": "2020-07-16T22:46:00Z" | ||
}, | ||
"isTest": false, | ||
"currentEditStep": 13, | ||
"moTimezone": { | ||
"offset": 1, | ||
"name": "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna *" | ||
}, | ||
"optinType": "NO_OPTIN", | ||
"doubleOptinInitialMessage": "", | ||
"doubleOptinConfirmMessage": "", | ||
"optinMinimumAge": 0, | ||
"optinInvalidAgeMessage": "", | ||
"numberMessagesPerPeriod": 0, | ||
"periodType": "NO_PERIOD", | ||
"optinErrorMessage": "", | ||
"triggeredSendId": "00000000-0000-0000-0000-000000000000", | ||
"isDuplicationAllowed": true, | ||
"triggeredSendName": "DEV_InformUserAboutProposal - 267", | ||
"isTimeZoneBased": false, | ||
"surveyType": "NO_SURVEY", | ||
"surveyCorrectResponseMessage": "", | ||
"surveyTooManyEntriesMessage": "", | ||
"isExpireSet": false, | ||
"expireHours": 0, | ||
"surveyIncorrectResponseMessage": "", | ||
"statistics": { | ||
"outbound": { | ||
"sent": 45, | ||
"delivered": 33, | ||
"undelivered": 0, | ||
"unknown": 0 | ||
} | ||
}, | ||
"statusId": 2, | ||
"doubleOptinValidResponses": "y|yes", | ||
"messagesPerPeriod": 0, | ||
"minutesPerPeriod": 0, | ||
"subscriberResponseMessage": "", | ||
"isSubscriberResponseToAnySubscriptionForShortCode": false, | ||
"sendMethod": "API", | ||
"messageObjectId": "MzN3MUV5YVpmRVMtV1R1UXJUR3NzUTo2MjU6MA", | ||
"allowSingleOptin": false, | ||
"isSentImmediately": true, | ||
"nextKeyword": { | ||
"id": "cTVJaG5oSDJPVUNHcUh6Z3pQT2tVdzo4Njow", | ||
"keyword": "testExisting_keyword", | ||
"restriction": "NONE", | ||
"isInherited": false | ||
}, | ||
"isSuppressMt": false, | ||
"smsTriggeredSendDefinitionId": "39d0e022-b6c7-ea11-a2e9-1402ec938719", | ||
"fromName": "4912312345678", | ||
"concatenateMessage": true, | ||
"isFromNameCertificationAccepted": false, | ||
"isCertified": false, | ||
"outboundSendTypeFlag": "Audience", | ||
"programId": "00000000-0000-0000-0000-000000000000", | ||
"outboundSendBehaviorFlag": "AutoAddSubscribers" | ||
} |
Oops, something went wrong.