From e2f05f4b8b22e4c495c51159c373131cc3cf4622 Mon Sep 17 00:00:00 2001 From: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:58:30 -0500 Subject: [PATCH] Fix SecretAccessPoliciesUpdatesQueryTest (#4619) --- .../SecretAccessPoliciesUpdatesQueryTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitwarden_license/test/Commercial.Core.Test/SecretsManager/Queries/AccessPolicies/SecretAccessPoliciesUpdatesQueryTests.cs b/bitwarden_license/test/Commercial.Core.Test/SecretsManager/Queries/AccessPolicies/SecretAccessPoliciesUpdatesQueryTests.cs index e6d6419348..0402a9086a 100644 --- a/bitwarden_license/test/Commercial.Core.Test/SecretsManager/Queries/AccessPolicies/SecretAccessPoliciesUpdatesQueryTests.cs +++ b/bitwarden_license/test/Commercial.Core.Test/SecretsManager/Queries/AccessPolicies/SecretAccessPoliciesUpdatesQueryTests.cs @@ -122,8 +122,8 @@ public class SecretAccessPoliciesUpdatesQueryTests { OrganizationUserId = data.UserAccessPolicies.First().OrganizationUserId, GrantedSecretId = data.SecretId, - Read = !data.ServiceAccountAccessPolicies.First().Read, - Write = !data.ServiceAccountAccessPolicies.First().Write + Read = !data.UserAccessPolicies.First().Read, + Write = !data.UserAccessPolicies.First().Write }; return (updatePolicy, currentPolicyToDelete); @@ -138,8 +138,8 @@ public class SecretAccessPoliciesUpdatesQueryTests { GroupId = data.GroupAccessPolicies.First().GroupId, GrantedSecretId = data.SecretId, - Read = !data.ServiceAccountAccessPolicies.First().Read, - Write = !data.ServiceAccountAccessPolicies.First().Write + Read = !data.GroupAccessPolicies.First().Read, + Write = !data.GroupAccessPolicies.First().Write }; return (updatePolicy, currentPolicyToDelete);