17 references to SentEmails
Identity.DefaultUI.WebSite (1)
Services\ContosoEmailSender.cs (1)
14SentEmails.Add(new IdentityEmail(email, subject, htmlMessage));
Microsoft.AspNetCore.Identity.FunctionalTests (16)
LoginTests.cs (11)
223var email = Assert.Single(emailSender.SentEmails); 251Assert.Equal(2, emailSender.SentEmails.Count); 252var email = emailSender.SentEmails.Last(); 278var email = Assert.Single(emailSender.SentEmails); 346var registrationEmail = Assert.Single(emailSender.SentEmails); 351Assert.Equal(2, emailSender.SentEmails.Count); 352var email = emailSender.SentEmails[1]; 376var registrationEmail = Assert.Single(emailSender.SentEmails); 381Assert.Equal(2, emailSender.SentEmails.Count); 382var email = emailSender.SentEmails[1]; 405var registrationEmail = Assert.Single(emailSender.SentEmails);
ManagementTests.cs (4)
75Assert.Equal(2, emails.SentEmails.Count); 76var email = emails.SentEmails[1]; 102Assert.Equal(2, emails.SentEmails.Count); 103await UserStories.ConfirmEmailAsync(emails.SentEmails[1], client);
RegistrationTests.cs (1)
177Assert.Single(emailSender.SentEmails);