mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-16 05:20:22 +08:00
test(mxc): restamp expected global policy after the UI overlay
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user