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

Malformed request tests for timestamps #882

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

adamthom-amzn
Copy link
Contributor

Description of changes:
This is basically a really verbose matrix test. There are four files: one for body, header, query, and path. Each has three operations: one for whatever the default is for that type of member, and two more for the other two formats that aren't the default. The tests are essentially the same in every location, modulo formatting and where the value is injected. This is probably overkill, but it ensures that we don't have a server implementation where the validation of timestamps varies based on location.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@adamthom-amzn adamthom-amzn merged commit faa689b into smithy-lang:main Aug 9, 2021
@adamthom-amzn adamthom-amzn deleted the malformed-timestamps branch August 9, 2021 17:03
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