Skip to content

Commit

Permalink
test(aws-restjson-server): confirm query values of 0 and false are se…
Browse files Browse the repository at this point in the history
…rialized (#6010)
  • Loading branch information
trivikr authored Apr 18, 2024
1 parent 5331483 commit 3260357
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,6 @@ private static boolean filterProtocolTests(
return true;
}

// TODO: Remove when this test case is fixed upstream.
// https://github.com/smithy-lang/smithy/pull/2167
if (settings.generateServerSdk()
&& testCase.getId().equals("RestJsonZeroAndFalseQueryValues")) {
return true;
}

// TODO: remove when there's a decision on separator to use
// https://github.com/awslabs/smithy/issues/1014
if (testCase.getId().equals("RestJsonInputAndOutputWithQuotedStringHeaders")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ it("RestJsonSupportsNegativeInfinityFloatQueryValues:ServerRequest", async () =>
/**
* Query values of 0 and false are serialized
*/
it.skip("RestJsonZeroAndFalseQueryValues:ServerRequest", async () => {
it("RestJsonZeroAndFalseQueryValues:ServerRequest", async () => {
const testFunction = jest.fn();
testFunction.mockReturnValue(Promise.resolve({}));
const testService: Partial<RestJsonService<{}>> = {
Expand Down

0 comments on commit 3260357

Please sign in to comment.