Exemplo n.º 1
0
 public static StringContent Generate_Correct_Registration_RegistrationCommand() =>
 PayloadBuilder.GetPayload(new RegisterCommand()
 {
     Email    = RegistrationConst.CorrectEmail,
     Password = RegistrationConst.CorrectPassword,
     Username = RegistrationConst.CorrectPassword
 });
Exemplo n.º 2
0
 public static StringContent Generate_Invalid_Login_LoginCommand() =>
 PayloadBuilder.GetPayload(new LoginCommand
 {
     Username = SecurityConsts.IncorrectLogin,
     Password = SecurityConsts.CorrectPassword
 });
Exemplo n.º 3
0
 public static StringContent Generate_Null_LoginAndPassword_LoginCommand() =>
 PayloadBuilder.GetPayload(new LoginCommand
 {
     Username = null,
     Password = null
 });
Exemplo n.º 4
0
 public static StringContent Generate_Null_Password_LoginCommand() =>
 PayloadBuilder.GetPayload(new LoginCommand
 {
     Username = SecurityConsts.CorrectLogin,
     Password = null
 });
Exemplo n.º 5
0
 public static StringContent Generate_Empty_LoginAndPassword_LoginCommand() =>
 PayloadBuilder.GetPayload(new LoginCommand
 {
     Username = string.Empty,
     Password = string.Empty
 });
Exemplo n.º 6
0
 public static StringContent Generate_Empty_Login_LoginCommand() =>
 PayloadBuilder.GetPayload(new LoginCommand
 {
     Username = string.Empty,
     Password = SecurityConsts.CorrectPassword
 });