mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Fixing membership unit tests
This commit is contained in:
@@ -56,9 +56,9 @@ namespace Orchard.Users.Services {
|
||||
public ILogger Logger { get; set; }
|
||||
public Localizer T { get; set; }
|
||||
|
||||
public IMembershipSettings GetSettings(){
|
||||
public IMembershipSettings GetSettings() {
|
||||
return _orchardServices.WorkContext.CurrentSite.As<RegistrationSettingsPart>();
|
||||
}
|
||||
}
|
||||
|
||||
public IUser CreateUser(CreateUserParams createUserParams) {
|
||||
Logger.Information("CreateUser {0} {1}", createUserParams.Username, createUserParams.Email);
|
||||
|
||||
Reference in New Issue
Block a user