From 872ee33642d55846703392b441dc0eac7077c345 Mon Sep 17 00:00:00 2001 From: Timo Notheisen Date: Thu, 28 Nov 2024 10:37:51 +0100 Subject: [PATCH] test: test for length of UsernameHashesBase64 --- .../Identities/IdentityDeletionProcessAuditLogEntryTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Devices/test/Devices.Domain.Tests/Identities/IdentityDeletionProcessAuditLogEntryTests.cs b/Modules/Devices/test/Devices.Domain.Tests/Identities/IdentityDeletionProcessAuditLogEntryTests.cs index bc59833374..3afe98a1b2 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/Identities/IdentityDeletionProcessAuditLogEntryTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/Identities/IdentityDeletionProcessAuditLogEntryTests.cs @@ -15,6 +15,7 @@ public void AssociateUsernames_happy_path() auditLogEntry.AssociateUsernames([Username.Parse("USR1111111111111111"), Username.Parse("USR2222222222222222")]); // Assert + auditLogEntry.UsernameHashesBase64.Should().HaveCount(2); auditLogEntry.UsernameHashesBase64.Should().Contain("jj3azydpiPwK4iFxo/wpCP6pP5Yf5MStnu/hyzMUZ14=", "FQao/LArcVbFzRs4RgYCU5JycRx9zmJMxY5ApJ0Nk8E="); }