Use post for ref patch and serialize (#1192)

This commit is contained in:
Ken Loeffler 2026-01-19 14:44:42 -08:00 • committed by GitHub
parent d08780fc14
commit 02b41133f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 98 additions and 59 deletions

View file

@ -646,7 +646,7 @@ fn meshpart_with_id() {
.unwrap();
let serialize_response = session
.get_api_serialize(&[*meshpart, *objectvalue])
.get_api_serialize(&[*meshpart, *objectvalue], info.session_id)
.unwrap();
// We don't assert a snapshot on the SerializeResponse because the model includes the
@ -673,7 +673,9 @@ fn forced_parent() {
read_response.intern_and_redact(&mut redactions, root_id)
);
let serialize_response = session.get_api_serialize(&[root_id]).unwrap();
let serialize_response = session
.get_api_serialize(&[root_id], info.session_id)
.unwrap();
assert_eq!(serialize_response.session_id, info.session_id);