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