mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +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,
|
OrganizationUserId = data.UserAccessPolicies.First().OrganizationUserId,
|
||||||
GrantedSecretId = data.SecretId,
|
GrantedSecretId = data.SecretId,
|
||||||
Read = !data.ServiceAccountAccessPolicies.First().Read,
|
Read = !data.UserAccessPolicies.First().Read,
|
||||||
Write = !data.ServiceAccountAccessPolicies.First().Write
|
Write = !data.UserAccessPolicies.First().Write
|
||||||
};
|
};
|
||||||
|
|
||||||
return (updatePolicy, currentPolicyToDelete);
|
return (updatePolicy, currentPolicyToDelete);
|
||||||
@ -138,8 +138,8 @@ public class SecretAccessPoliciesUpdatesQueryTests
|
|||||||
{
|
{
|
||||||
GroupId = data.GroupAccessPolicies.First().GroupId,
|
GroupId = data.GroupAccessPolicies.First().GroupId,
|
||||||
GrantedSecretId = data.SecretId,
|
GrantedSecretId = data.SecretId,
|
||||||
Read = !data.ServiceAccountAccessPolicies.First().Read,
|
Read = !data.GroupAccessPolicies.First().Read,
|
||||||
Write = !data.ServiceAccountAccessPolicies.First().Write
|
Write = !data.GroupAccessPolicies.First().Write
|
||||||
};
|
};
|
||||||
|
|
||||||
return (updatePolicy, currentPolicyToDelete);
|
return (updatePolicy, currentPolicyToDelete);
|
||||||
|
Loading…
Reference in New Issue
Block a user