From 70773d35e88bdcbb3158590dc348134191efe87e Mon Sep 17 00:00:00 2001 From: Piotr Mlocek Date: Thu, 10 Sep 2026 19:02:33 -0700 Subject: [PATCH] fix(server): update configuration tests for workspace selector Signed-off-by: Piotr Mlocek --- crates/openshell-server/src/grpc/policy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/openshell-server/src/grpc/policy.rs b/crates/openshell-server/src/grpc/policy.rs index bd84508ee..77c997e04 100644 --- a/crates/openshell-server/src/grpc/policy.rs +++ b/crates/openshell-server/src/grpc/policy.rs @@ -10886,7 +10886,7 @@ mod tests { &state, with_user(Request::new(UpdateConfigRequest { name: "rejected-policy".to_string(), - workspace: "default".to_string(), + workspace_scope: Some(openshell_core::proto::workspace_selector("default")), policy: Some(test_policy_with_rule("rejected", "api.example.com")), expected_resource_version: u64::MAX, ..Default::default() @@ -10932,7 +10932,7 @@ mod tests { &state, with_user(Request::new(UpdateConfigRequest { name: "published-policy".to_string(), - workspace: "default".to_string(), + workspace_scope: Some(openshell_core::proto::workspace_selector("default")), policy: Some(test_policy_with_rule("published", "api.example.com")), ..Default::default() })),