GetValidRegistration() public static method

public static GetValidRegistration ( bool autoLogin = false ) : Register
autoLogin bool
return Register
        private RegisterService GetRegistrationService()
        {
            var registrationService = RegistrationServiceTests.GetRegistrationService(authRepo: userAuth);
            var request             = RegistrationServiceTests.GetValidRegistration(autoLogin: true);

            registrationService.Post(request);
            return(registrationService);
        }
示例#2
0
        private RegistrationService GetRegistrationService()
        {
            var registrationService = RegistrationServiceTests.GetRegistrationService(authRepo: userAuthMock.Object);
            var request             = RegistrationServiceTests.GetValidRegistration(autoLogin: true);

            registrationService.Execute(request);
            return(registrationService);
        }