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:
parent
47afe97379
commit
e2f05f4b8b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user