fix(transport): carry Transport + OAuth2 authority/scope on SmtpConfigDto (OAuth2 fields were silently dropped)

This commit is contained in:
Joseph Doherty
2026-08-10 06:43:43 -04:00
parent 2f217f5742
commit 8df15b34b8
6 changed files with 159 additions and 2 deletions
@@ -633,6 +633,12 @@ public sealed class RoundTripEquivalenceTests : IDisposable
MaxConcurrentConnections = 4,
MaxRetries = 9,
RetryDelay = TimeSpan.FromSeconds(33),
// Non-sensitive delivery metadata. Left null, these three were
// silently dropped by the bundle without the guard noticing
// (null == null), so they are seeded explicitly here.
Transport = "Ews",
OAuth2Authority = "https://login.example.test/token",
OAuth2Scope = "https://mail.example.test/.default",
});
await ctx.SaveChangesAsync();
});