diff --git a/tests/integration.rs b/tests/integration.rs index ce3c4aa..e92c951 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -5280,8 +5280,8 @@ async fn role_ai_is_unreachable_over_http() { let human = json!(["parent", "student", "teacher", "manager", "admin"]); assert_eq!(schemas["AssignableRole"]["enum"], human, "{schemas:?}"); assert_eq!( - spec["paths"]["/users/{id}/role"]["patch"]["requestBody"]["content"] - ["application/json"]["schema"]["$ref"], + spec["paths"]["/users/{id}/role"]["patch"]["requestBody"]["content"]["application/json"]["schema"] + ["$ref"], "#/components/schemas/SetRole" ); assert_eq!(