feat: consume transactional email notifications
Add contract validation, SMTP delivery results, terminal failure context, neutral development seeding, and local Docker setup. Ref: IT-1033
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
namespace HrynCo.NotificationService.Services.Tests.EmailProcessing;
|
||||
|
||||
using HrynCo.NotificationService.Worker.Services.EmailProcessing;
|
||||
|
||||
public sealed class RecipientAddressRedactorTests
|
||||
{
|
||||
[Theory]
|
||||
[InlineData("owner@example.com", "o***@e***.com")]
|
||||
[InlineData("a@b.test", "a***@b***.test")]
|
||||
[InlineData("invalid", "***")]
|
||||
[InlineData(null, "<missing>")]
|
||||
public void Redact_DoesNotExposeFullAddress(string? address, string expected)
|
||||
{
|
||||
Assert.Equal(expected, RecipientAddressRedactor.Redact(address));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user