1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-15 20:41:35 +01:00

[PM-14378] Formatting

This commit is contained in:
Shane Melton 2024-12-05 17:09:51 -08:00
parent df3e424aaf
commit 78ea8b5480
No known key found for this signature in database
5 changed files with 61 additions and 64 deletions

View File

@ -1,5 +1,4 @@
using System.Runtime.InteropServices;
using System.Text.Json;
using System.Text.Json;
using System.Text.Json.Nodes;
using AutoMapper;
using Bit.Core.KeyManagement.UserKey;

View File

@ -1,12 +1,6 @@
using Bit.Core.Auth.Enums;
using Bit.Core.Enums;
using Bit.Core.Vault.Models.Data;
using Bit.Core.Vault.Models.Data;
using Bit.Infrastructure.EntityFramework.Repositories;
using Bit.Infrastructure.EntityFramework.Repositories.Queries;
using Microsoft.EntityFrameworkCore;
using Org.BouncyCastle.Utilities.IO;
using Sentry.Protocol;
using Stripe.TestHelpers;
namespace Bit.Infrastructure.EntityFramework.Vault.Repositories.Queries;

View File

@ -8,7 +8,6 @@ using Bit.Core.Vault.Entities;
using Bit.Core.Vault.Enums;
using Bit.Core.Vault.Models.Data;
using Bit.Core.Vault.Repositories;
using Bit.Infrastructure.EntityFramework.Repositories;
using Xunit;
namespace Bit.Infrastructure.IntegrationTest.Repositories;
@ -212,7 +211,10 @@ public class CipherRepositoryTests
var user = await userRepository.CreateAsync(new User
{
Name = "Test User", Email = $"test+{Guid.NewGuid()}@email.com", ApiKey = "TEST", SecurityStamp = "stamp",
Name = "Test User",
Email = $"test+{Guid.NewGuid()}@email.com",
ApiKey = "TEST",
SecurityStamp = "stamp",
});
var organization = await organizationRepository.CreateAsync(new Organization
@ -240,7 +242,9 @@ public class CipherRepositoryTests
var manageCipher = await cipherRepository.CreateAsync(new Cipher
{
Type = CipherType.Login, OrganizationId = organization.Id, Data = ""
Type = CipherType.Login,
OrganizationId = organization.Id,
Data = ""
});
collectionCipherRepository.UpdateCollectionsForAdminAsync(manageCipher.Id, organization.Id,