Skip to content

DX-2691 messages_api Integration Tests#91

Merged
ckoegel merged 17 commits intofeature/openapi-generator-sdkfrom
DX-2691-messages
Aug 3, 2022
Merged

DX-2691 messages_api Integration Tests#91
ckoegel merged 17 commits intofeature/openapi-generator-sdkfrom
DX-2691-messages

Conversation

@ckoegel
Copy link
Contributor

@ckoegel ckoegel commented Jul 7, 2022

No description provided.

@ckoegel ckoegel marked this pull request as ready for review July 14, 2022 19:18
@ckoegel ckoegel requested a review from a team July 14, 2022 19:18
Base automatically changed from DX-2691 to feature/openapi-generator-sdk July 18, 2022 15:17
@ckoegel ckoegel requested a review from ajrice6713 July 21, 2022 14:38
@ckoegel ckoegel requested a review from bpateldx July 21, 2022 15:17
Copy link

@bpateldx bpateldx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, please review comments on changes requested.

"enum": [
"DEFAULT",
"HIGH"
"default",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backward compatibility issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you mean, the API currently returns these in lowercase

self.assertIsInstance(message.message_direction, ListMessageDirectionEnum)
self.assertTrue(message.message_id)
self.assertIsInstance(message.message_status, MessageStatusEnum)
self.assertIsInstance(message.message_type, MessageTypeEnum)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above, check values as it won't be dynamic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably won't be dynamic, but we can't guarantee what message comes first in the list, since this is listing all outbound messages on account.

@ckoegel ckoegel merged commit 8df737a into feature/openapi-generator-sdk Aug 3, 2022
@ckoegel ckoegel deleted the DX-2691-messages branch August 3, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants