1
0
mirror of https://github.com/bitwarden/server synced 2026-01-30 16:23:37 +00:00

Revert Bulk implementation

This commit is contained in:
Thomas Rittson
2026-01-06 14:16:47 +10:00
parent 91c51fd47c
commit dc5c06ff83
4 changed files with 66 additions and 20 deletions

View File

@@ -6,10 +6,6 @@ namespace Bit.Infrastructure.IntegrationTest.AdminConsole.Repositories.Collectio
public class CreateDefaultCollectionsTests
{
/// <summary>
/// Test that CreateDefaultCollectionsAsync successfully creates default collections for new users
/// with correct permissions
/// </summary>
[Theory, DatabaseData]
public async Task CreateDefaultCollectionsAsync_CreatesDefaultCollections_Success(
IUserRepository userRepository,
@@ -63,9 +59,6 @@ public class CreateDefaultCollectionsTests
Assert.True(orgUser2CollectionUser.Manage);
}
/// <summary>
/// Test that calling CreateDefaultCollectionsAsync multiple times does NOT create duplicates
/// </summary>
[Theory, DatabaseData]
public async Task CreateDefaultCollectionsAsync_CalledMultipleTimesForSameOrganizationUser_DoesNotCreateDuplicates(
IUserRepository userRepository,