router: test: sort object schema properties

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2025-01-14 10:34:28 +01:00
parent be57fb0122
commit c99a31c66f

View File

@ -21,6 +21,11 @@ const API_METHOD_SIMPLE1: ApiMethod = ApiMethod::new(
&ObjectSchema::new(
"Simple API method with one required and one optional argument.",
&[
(
"another-required-arg",
false,
&StringSchema::new("A second required string argument.").schema(),
),
(
"optional-arg",
true,
@ -33,11 +38,6 @@ const API_METHOD_SIMPLE1: ApiMethod = ApiMethod::new(
false,
&StringSchema::new("Required string argument.").schema(),
),
(
"another-required-arg",
false,
&StringSchema::new("A second required string argument.").schema(),
),
],
),
);