1
0
mirror of https://github.com/bitwarden/server synced 2026-02-16 16:59:03 +00:00

chore: fixing nullable compatibility.

This commit is contained in:
Ike Kottlowski
2026-01-22 23:07:49 -05:00
parent 97451d385e
commit 9391b94f39
4 changed files with 12 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ public class EmergencyAccessRotationValidatorTests
KeyEncrypted = e.KeyEncrypted,
Type = e.Type
}).ToList();
userEmergencyAccess.Add(new EmergencyAccessDetails { Id = Guid.NewGuid(), KeyEncrypted = "TestKey" });
userEmergencyAccess.Add(new EmergencyAccessDetails { Id = Guid.NewGuid(), GrantorEmail="grantor@example.com", KeyEncrypted = "TestKey" });
sutProvider.GetDependency<IEmergencyAccessRepository>().GetManyDetailsByGrantorIdAsync(user.Id)
.Returns(userEmergencyAccess);