1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Fix SecretAccessPoliciesUpdatesQueryTest (#4619)

This commit is contained in:
Thomas Avery 2024-08-12 16:58:30 -05:00 committed by GitHub
parent 47afe97379
commit e2f05f4b8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);