1
0
mirror of https://github.com/bitwarden/server synced 2026-02-16 08:34:15 +00:00

Explicit transaction for mssql

This commit is contained in:
Thomas Rittson
2025-12-31 14:25:14 +10:00
parent 53bc10015f
commit 36aad90cb8
3 changed files with 133 additions and 107 deletions

View File

@@ -92,7 +92,7 @@ public class CreateDefaultCollectionsTests
collectionRepository.CreateDefaultCollectionsAsync(
organization.Id,
[orgUser.Id],
"My Items"));
"My Items Duplicate"));
// Assert - Only one collection should exist
var collections = await collectionRepository.GetManyByOrganizationIdAsync(organization.Id);