Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding extra Archive Tests, adding contract annotations for ArchiveLayout #149

Merged
merged 12 commits into from
Dec 14, 2020

Conversation

slorello89
Copy link
Contributor

Adding some missing test cases for the ArchiveLayout StartArchive paths.

@slorello89
Copy link
Contributor Author

#148 Pointed out to me a couple of missing test paths for the SDK here. It doesn't appear that the code path they suggested is failing, still waiting on clarity - but it's still worth adding the cases.

@slorello89 slorello89 changed the title adding extra Archive Test adding extra Archive Tests, adding contract annotations for ArchiveLayout Aug 19, 2020
@slorello89
Copy link
Contributor Author

After further discussion with the originator of #148 it's clear what's going on here - when the stylesheet is being set to an empty string it's erroneously being serialized with the rest of the ArchiveLayout class and shipped off to the OpenTok API, which rejects the request with a 400 error. I've added some new annotations to the Archive layout (as well as new tests to OpenTokTest) to make sure this is being done correctly.

dragonmantank
dragonmantank previously approved these changes Sep 14, 2020
Copy link

@dragonmantank dragonmantank left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link

@dragonmantank dragonmantank left a comment

Choose a reason for hiding this comment

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

Re-adding approval since it was cleared after the update from master

@slorello89 slorello89 merged commit 059591c into master Dec 14, 2020
@matt-lethargic matt-lethargic deleted the add_extra_archive_test branch November 2, 2021 15:15
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.

2 participants