Skip to content
Open
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions packages/http-specs/specs/encode/duration/mockapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ Scenarios.Encode_Duration_Query_int32SecondsLargerUnit = createQueryServerTests(
Scenarios.Encode_Duration_Query_floatSecondsLargerUnit = createQueryServerTests(
"/encode/duration/query/float-seconds-larger-unit",
{
input: 150.0,
input: 150,
},
"150.0",
150,
);
Scenarios.Encode_Duration_Query_int32MillisecondsLargerUnit = createQueryServerTests(
"/encode/duration/query/int32-milliseconds-larger-unit",
Expand All @@ -243,9 +243,9 @@ Scenarios.Encode_Duration_Query_int32MillisecondsLargerUnit = createQueryServerT
Scenarios.Encode_Duration_Query_floatMillisecondsLargerUnit = createQueryServerTests(
"/encode/duration/query/float-milliseconds-larger-unit",
{
input: 210000.0,
input: 210000,
},
"210000.0",
210000,
);

function createHeaderServerTests(uri: string, headersData: any, value: any) {
Expand Down Expand Up @@ -343,9 +343,9 @@ Scenarios.Encode_Duration_Header_int32SecondsLargerUnit = createHeaderServerTest
Scenarios.Encode_Duration_Header_floatSecondsLargerUnit = createHeaderServerTests(
"/encode/duration/header/float-seconds-larger-unit",
{
duration: "150.0",
duration: "150",
},
"150.0",
"150",
);
Scenarios.Encode_Duration_Header_int32MillisecondsLargerUnit = createHeaderServerTests(
"/encode/duration/header/int32-milliseconds-larger-unit",
Expand All @@ -357,7 +357,7 @@ Scenarios.Encode_Duration_Header_int32MillisecondsLargerUnit = createHeaderServe
Scenarios.Encode_Duration_Header_floatMillisecondsLargerUnit = createHeaderServerTests(
"/encode/duration/header/float-milliseconds-larger-unit",
{
duration: "210000.0",
duration: "210000",
},
"210000.0",
"210000",
);
Loading