assume canonical order in db serialization test

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-03-14 06:54:08 +00:00
parent 7294368015
commit a57336ec13

View file

@ -152,8 +152,8 @@ fn ser_json_macro() {
let content = serde_json::to_value(content).expect("failed to serialize content");
let sender: &UserId = "@foo:example.com".try_into().unwrap();
let serialized = serialize_to_vec(Json(json!({
"sender": sender,
"content": content,
"sender": sender,
})))
.expect("failed to serialize value");