Метод | Описание | |
---|---|---|
GetRegistrationService ( AbstractValidator |
||
GetStubRepo ( ) : IUserAuthRepository | ||
GetValidRegistration ( bool autoLogin = false ) : Register |
Метод | Описание | |
---|---|---|
Accepts_valid_registration ( ) : void | ||
Empty_Registration_is_invalid ( ) : void | ||
Empty_Registration_is_invalid_with_FullRegistrationValidator ( ) : void | ||
PostRegistrationError ( RegisterService service, Register register ) : ServiceStack.Common.Web.HttpError | ||
Registration_with_EmptyString_Continue_returns_RegistrationResponse ( ) : void | ||
Registration_with_Html_ContentType_And_Continue_returns_302_with_Location ( ) : void | ||
Registration_with_Json_ContentType_And_Continue_returns_RegistrationResponse_with_ReferrerUrl ( ) : void | ||
Requires_unique_UserName_and_Email ( ) : void | ||
TestFixtureSetUp ( ) : void | ||
TestFixtureTearDown ( ) : void |
public static GetRegistrationService ( AbstractValidator |
||
validator | AbstractValidator |
|
authRepo | IUserAuthRepository | |
contentType | string | |
Результат | RegisterService |
public static GetStubRepo ( ) : IUserAuthRepository | ||
Результат | IUserAuthRepository |
public static GetValidRegistration ( bool autoLogin = false ) : Register | ||
autoLogin | bool | |
Результат | Register |