Skip to content

Commit e4e7986

Browse files
committed
test(mxc): restamp expected global policy after the UI overlay
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent d88d3d5 commit e4e7986

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎crates/openshell-server/src/grpc/policy.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8769,6 +8769,7 @@ mod tests {
87698769
let mut policy = openshell_policy::restrictive_default_policy();
87708770
policy.ui = Some(openshell_core::proto::UiPolicy::default());
87718771
global_policy.ui = policy.ui;
8772+
openshell_core::policy_identity::stamp_global_token_grant_owners(&mut global_policy);
87728773
let sandbox = test_sandbox("create-global", "create-global", policy, Vec::new());
87738774
let inputs = resolve_sandbox_create_runtime_inputs(state.as_ref(), &sandbox)
87748775
.await

0 commit comments

Comments
 (0)