Skip to content

Add Security response tests#9

Merged
stephen-crawford merged 2 commits intocwperks:return-expected-content-typefrom
stephen-crawford:returnExpectedType
Nov 15, 2023
Merged

Add Security response tests#9
stephen-crawford merged 2 commits intocwperks:return-expected-content-typefrom
stephen-crawford:returnExpectedType

Conversation

@stephen-crawford
Copy link
Copy Markdown
Collaborator

@stephen-crawford stephen-crawford commented Nov 15, 2023

Description

This adds tests around the Security Response handling and its conversion to a RestResponse.

There is a known failing test I marked. I do not like that we don't pick a standard default type and would like us to do so. I would pick JSON and that is what I wrote the test for, but I can be overruled to use a different type or keep the behavior in the split way it is now.

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
@stephen-crawford stephen-crawford merged commit e95cbe2 into cwperks:return-expected-content-type Nov 15, 2023
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.

1 participant