Exemple #1
0
        public void LogearSuccessTest()
        {
            var response = ServicioUsuario.Autenticar(new ServicioUsuarioRequest
            {
                Username = "******",
                Password = new Usuario().EncryptPassword("toor"),
                Activo   = true,
                Rol      = Rol.INVITADO
            });

            Assert.AreEqual("test", response.Username);
        }