2 instantiations of RegisterConfirmation
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Pages\Account\ExternalLogin.cs (1)
51return new RegisterConfirmation(Client, register, hasRealEmail ? Context.WithRealEmailSender() : Context);
Pages\Account\Register.cs (1)
68return new RegisterConfirmation(Client, register, hasRealEmail ? Context.WithRealEmailSender() : Context);
8 references to RegisterConfirmation
Microsoft.AspNetCore.Identity.FunctionalTests (8)
Pages\Account\ExternalLogin.cs (2)
39public async Task<RegisterConfirmation> SendEmailWithConfirmationAsync(string email, bool hasRealEmail) 46Assert.Equal(RegisterConfirmation.Path + "?email=" + email, redirect.ToString(), StringComparer.OrdinalIgnoreCase);
Pages\Account\Register.cs (2)
54public async Task<RegisterConfirmation> SubmitRegisterFormWithConfirmation(string userName, string password, bool hasRealEmail = false) 64Assert.Equal(RegisterConfirmation.Path + "?email=" + userName + "&returnUrl=%2F", registeredLocation.ToString());
RegistrationTests.cs (2)
55var register = await UserStories.RegisterNewUserAsyncWithConfirmation(client, userName, password); 88var register = await UserStories.RegisterNewUserAsyncWithConfirmation(client, userName, password, hasRealEmailSender: true);
UserStories.cs (2)
27internal static async Task<RegisterConfirmation> RegisterNewUserAsyncWithConfirmation(HttpClient client, string userName = null, string password = null, bool hasRealEmailSender = false) 79internal static async Task<RegisterConfirmation> RegisterNewUserWithSocialLoginWithConfirmationAsync(HttpClient client, string userName, string email, bool hasRealEmailSender = false)