test(mxc): restamp expected global policy after the UI overlay

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
This commit is contained in:
Drew Newberry
2026-10-13 08:36:39 -07:00
parent bacd0accbf
commit 303cedeeea
@@ -8702,6 +8702,7 @@ mod tests {
let mut policy = openshell_policy::restrictive_default_policy();
policy.ui = Some(openshell_core::proto::UiPolicy::default());
global_policy.ui = policy.ui;
openshell_core::policy_identity::stamp_global_token_grant_owners(&mut global_policy);
let sandbox = test_sandbox("create-global", "create-global", policy, Vec::new());
let inputs = resolve_sandbox_create_runtime_inputs(state.as_ref(), &sandbox)
.await