From c5aa841cf587f04f45088db8583cacabb2a53ad0 Mon Sep 17 00:00:00 2001 From: "developing-today[bot]" <5454422+developing-today[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 20:52:16 -0600 Subject: [PATCH] test(id): expect the empty default requested profile in world_net execution-profile test (#6687) --- pkgs/id/src/world_net.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/id/src/world_net.rs b/pkgs/id/src/world_net.rs index 1891e4923b..6a196cc4bf 100644 --- a/pkgs/id/src/world_net.rs +++ b/pkgs/id/src/world_net.rs @@ -2707,8 +2707,11 @@ mod tests { .execution_profile(None, Some(&capability)) .await .unwrap(); - // execution_profile now returns just the requested profile, not the whole frame - assert!(res.get("wasm_fuel").is_some() || res.get("total_memory_bytes").is_some()); + // execution_profile now returns just the requested profile, not the + // whole frame. A fresh world has requested nothing: every bound is + // None (inherit the server ceiling) and serializes away, so the + // default requested profile is the empty object (#6687). + assert_eq!(res, serde_json::json!({})); guest.close(); // 3. Admin can update profile