private RegisterService GetRegistrationService() { var registrationService = RegistrationServiceTests.GetRegistrationService(authRepo: userAuth); var request = RegistrationServiceTests.GetValidRegistration(autoLogin: true); registrationService.Post(request); return(registrationService); }
private RegistrationService GetRegistrationService() { var registrationService = RegistrationServiceTests.GetRegistrationService(authRepo: userAuthMock.Object); var request = RegistrationServiceTests.GetValidRegistration(autoLogin: true); registrationService.Execute(request); return(registrationService); }