Skip to content

Commit 70773d3

Browse files
committed
fix(server): update configuration tests for workspace selector
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
1 parent 86773ee commit 70773d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10886,7 +10886,7 @@ mod tests {
1088610886
&state,
1088710887
with_user(Request::new(UpdateConfigRequest {
1088810888
name: "rejected-policy".to_string(),
10889-
workspace: "default".to_string(),
10889+
workspace_scope: Some(openshell_core::proto::workspace_selector("default")),
1089010890
policy: Some(test_policy_with_rule("rejected", "api.example.com")),
1089110891
expected_resource_version: u64::MAX,
1089210892
..Default::default()
@@ -10932,7 +10932,7 @@ mod tests {
1093210932
&state,
1093310933
with_user(Request::new(UpdateConfigRequest {
1093410934
name: "published-policy".to_string(),
10935-
workspace: "default".to_string(),
10935+
workspace_scope: Some(openshell_core::proto::workspace_selector("default")),
1093610936
policy: Some(test_policy_with_rule("published", "api.example.com")),
1093710937
..Default::default()
1093810938
})),

0 commit comments

Comments
 (0)