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