mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
dotnet format
This commit is contained in:
parent
f661f9599b
commit
cbdbc07a48
@ -1,5 +1,4 @@
|
||||
using System.Security.Claims;
|
||||
using Bit.Core.AdminConsole.OrganizationFeatures.Shared.Authorization;
|
||||
using Bit.Core.AdminConsole.OrganizationFeatures.Shared.Authorization;
|
||||
using Bit.Core.Context;
|
||||
using Bit.Core.Enums;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
@ -1,5 +1,4 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Authorization.Infrastructure;
|
||||
using Microsoft.AspNetCore.Authorization.Infrastructure;
|
||||
|
||||
namespace Bit.Core.Tools.Authorization;
|
||||
|
||||
|
@ -15,7 +15,7 @@ namespace Bit.Api.Test.Tools.Authorization;
|
||||
[SutProviderCustomize]
|
||||
public class VaultExportAuthorizationHandlerTests
|
||||
{
|
||||
public static IEnumerable<object[]> CanExportEntireVault => new[]
|
||||
public static IEnumerable<CurrentContextOrganization[]> CanExportEntireVault => new[]
|
||||
{
|
||||
new CurrentContextOrganization { Type = OrganizationUserType.Owner },
|
||||
new CurrentContextOrganization { Type = OrganizationUserType.Admin },
|
||||
@ -23,7 +23,7 @@ public class VaultExportAuthorizationHandlerTests
|
||||
{
|
||||
Type = OrganizationUserType.Custom, Permissions = new Permissions { AccessImportExport = true }
|
||||
}
|
||||
}.Select(org => new []{org});
|
||||
}.Select(org => new[] { org });
|
||||
|
||||
[Theory]
|
||||
[BitMemberAutoData(nameof(CanExportEntireVault))]
|
||||
@ -46,7 +46,7 @@ public class VaultExportAuthorizationHandlerTests
|
||||
{
|
||||
Type = OrganizationUserType.Custom, Permissions = FlipPermissions(new Permissions { AccessImportExport = true })
|
||||
}
|
||||
}.Select(org => new []{org});
|
||||
}.Select(org => new[] { org });
|
||||
|
||||
[Theory]
|
||||
[BitMemberAutoData(nameof(CannotExportEntireVault))]
|
||||
|
Loading…
Reference in New Issue
Block a user