public static StringContent Generate_Correct_Registration_RegistrationCommand() => PayloadBuilder.GetPayload(new RegisterCommand() { Email = RegistrationConst.CorrectEmail, Password = RegistrationConst.CorrectPassword, Username = RegistrationConst.CorrectPassword });
public static StringContent Generate_Invalid_Login_LoginCommand() => PayloadBuilder.GetPayload(new LoginCommand { Username = SecurityConsts.IncorrectLogin, Password = SecurityConsts.CorrectPassword });
public static StringContent Generate_Null_LoginAndPassword_LoginCommand() => PayloadBuilder.GetPayload(new LoginCommand { Username = null, Password = null });
public static StringContent Generate_Null_Password_LoginCommand() => PayloadBuilder.GetPayload(new LoginCommand { Username = SecurityConsts.CorrectLogin, Password = null });
public static StringContent Generate_Empty_LoginAndPassword_LoginCommand() => PayloadBuilder.GetPayload(new LoginCommand { Username = string.Empty, Password = string.Empty });
public static StringContent Generate_Empty_Login_LoginCommand() => PayloadBuilder.GetPayload(new LoginCommand { Username = string.Empty, Password = SecurityConsts.CorrectPassword });