Esempio n. 1
0
        public async Task NoticiasBusiness_CrearNoticia_ShouldCreate()
        {
            NoticiasBusiness noticiasBusiness = new NoticiasBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Noticias noticias = await secure.DecryptMessageToEntity <Noticias>(@"ZbE1EJwSi4NW0GdgBaQaolFpmtlt/W7CyJlWnO6+H073Dx0LyH2oxsjZ/Jt4t6JNl0ZU5nZ6k0u9dK9/GOxz7ozqBByBcvc2vCZ47uJ+2IOa8KkE4T0vSalKqCZl2c7OgMrUTTILQmjbhb/YSTAwd0xoqdFDqTaxj4Ik23RG31LAYRiEON8wx8g1cQNam1ERBJa7qeQ9mMKTImc96UcPOtAzzhz5bo6o/Y7FRkPqLz12f3Q9vUm3i+8Ifo9p5XfkiHVO2KqJjeG2SBgz4zXF3OZPr/KMmmDRQjIQojEBUKW3inEXvYTn49tFFOo5A2jaSDT1vsbTkqjZRRGEojh9yt2fafItLHoV1wHGScQoOrrqNBLpiRFqWel89qi52RRLjWinFfUxgMO7JKPBuizp3nU1rcmM6+/O4/DvW7YOO6xxN8ilcgBzNdRklnCCLXkB1GpV/xS2juwuCOZ+XYtI5haEcGL7Xj7baLTzkfHJKV/gQm7NKmVRHLerqW5U/S/0ilWJpN77J0eUaAmASusoSYXXAcnl0+h5Yc7iYnNYV+NKOw80tKApP7BTxmVGXEivbqW/Tm4R2JrZwFlHR3JobM9BemW2vqZDonk6/rOtwgsSMVvnNPqm6BRE0INYApEm3SkDg75NhbUVg1X2Risaslt1xdRt5+HNtT7rDLRDsvKnQnIHLss7mjAGy6p7LAqZs/+/kn5MFId19trzvinmMcL4jnPhYO0DRqeAROM5cVS5pXNPorP4HSFDC+/ecPLQVMkRjdMgEQTNbuSIDFdtExRo03oOuJgbaWukNHLXC+BPowJQtk70cPovnIzM/IUq8/SS8WdEfvWyFfAauONE9U92qMb/6b/b6CDhutf7rnMsuZoPdAwQSCbnjOqPdLpsaq/FV7B+v36tbSWU1Qn4xdIzQGgSQgpq6x9iqqtl+sx3gGuXItuhqkNOM18czjeJT5Jfk9DJ3w9ldc/7ioe7dDDSxZ+msolPuzHPcImMaDGe2kc4hGPkmRWyq7ztJAjBggqOfLRYHrX00q62s6TvolcwMWMfRFOwEO4I6Dxv2wJFPIENIt26T8IpM1vUsIW51LHgUST/HrAuNDN1/qaMZNfZ35ZKCn9gjSnMCo8oEL6E1lJXhKHxVaLr+GdRZ4T5n3oaZwinPnJJ6w70j8jLmt7A7xoKKyolu69eYqDeLqMx1c9tpG2e3/Hnr5jWntsuxLczocUSgqx863imMYdlJsINtmeTEMGWOTIBE8rIdm+CESe8sN0voCjqiQPo1JKz2e+cTK0Dxe/K+gSGLLJbseyMu0uJwGe5g9kEM7oV9Vmql9+/xnDEiEt/P9G35iZUYAhiJdR1nkC4KVdK3xSCLLokHmSZZiCou0XJ7P3+sogSbybWPzoIsYNrukKm+qAACG9rQV14hCFuvlJmC3QlNtn0vhspxdCDLF7cHSCeuPkY+TKDqqF3kiY7Xpx22ISXwcj+SM9Mg+C2W3BjGw4NLvC5PsnxTAqLrk0LL0MApgtBMf0ytAaq06CyZAbjTuX15ACAFGZsUq/QtLNiSfiE5jjjNsCBqinw4bOiRy4hyrnIRrXtJCjlku2RUy53jz6VzSP0xtqcxGr8nteQmo9yQlzctsod4qLXmcbFA2hcmHLEuwXxbKs8oTXHQfPOvcC7ynpGPH9z3SKncz6TiX6igrOjo7XKr4Vf/ZGL5fysK4fGiqcx/Fben2tMICWf51eUvegJpI9+tXKn3CdqcRen8n/89w3ZX+rst7GaYQNpzpsiFT4rh5pBznLanoxGkJ1FNap6KTefrFUNrIiaEu+eH9VgFNrILPVK93zQIiALS1M=");

            WrapperSimpleTypesDTO wrapper = await noticiasBusiness.CrearNoticia(noticias);

            Assert.IsNotNull(wrapper);
        }
        public async Task CandidatosBusiness_ListarCandidatos_ShouldList()
        {
            CandidatosBusiness candidatoBusiness = new CandidatosBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            BuscadorDTO buscador = await secure.DecryptMessageToEntity <BuscadorDTO>(@"oAIAXYdlaJ0I31jsI23+qC95TsouHJoSKRTHoqgeDBuMhKIWNRWLE94nB3JtcW1AAOh351KWtQhYAVUXNKC2440xASx6LlP0FTAo7gAhL8FnEwsYmJvWj0VErgYaKIH+ArSzAqjIdPn7JbxNcNLGawbR5+yRA2m0bG+m8AZL2pct4v3Yu+uQ+1Rqvp9RTL1QLNFWE1VqpOdRAwkHDLfilvGZwUpj9sCNfOZlf1sUf+mpKqkKvWorNkdueEeDj8sY5V39D0Qy1om0rnBk2H+aKECFeIii8/XA8fkqcD0oHKBqolv32YcVs718XTvTA0TYQK8aXLuXNofH/s4I7s/cOxoGvIERIzX/F31yT7CcH7Ibf+tFgAyV7cckGluMa8iCTo46T3Vl2eKA38JcHjadO57Waf5ZOyQREY99h6sLN6zPQdhEEm+gwJosZV4b/4EiSjsPNLSgKT+wU8ZlRlxIr1iLzD+qvp0FfuAILl/DyJ7PQXpltr6mQ6J5Ov6zrcILEjFb5zT6pugURNCDWAKRJt0pA4O+TYW1FYNV9kYrGrJbdcXUbefhzbU+6wy0Q7Lyp0JyBy7LO5owBsuqeywKmWSV7EbmEOo8jkmLHJuk6yM=");

            List <CandidatosDTO> listaCandidatos = await candidatoBusiness.ListarCandidatos(buscador);

            Assert.IsNotNull(listaCandidatos);
        }
Esempio n. 3
0
        public async Task NoticiasBusiness_ModificarNoticia_ShouldModify()
        {
            NoticiasBusiness noticiasBusiness = new NoticiasBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Noticias noticias = await secure.DecryptMessageToEntity <Noticias>(@"Ot7S5IcN4BLiI0F2KLkx01Fpmtlt/W7CyJlWnO6+H07Df9sA+altV6uO6q82QLSWa+QFiwQYnUUczjC8bUmBMI8yJESuPBKHwzwYHxtO9fkTLUXhy1slaPxCCRImjdyDFezI/vjDm3v+6Q1Z4AHOIN+mrZ8z7CntbL/rIbOUzf2kSomu+nrI2qKSx5RlGxf/p0JyBy7LO5ow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zoIsYNrukKm+qAACG9rQV14hCFuvlJmC3QlNtn0vhspxdCDLF7cHSCeuPkY+TKDqqF3kiY7Xpx22ISXwcj+SM9Mg+C2W3BjGw4NLvC5PsnxTAqLrk0LL0MApgtBMf0ytAaq06CyZAbjTuX15ACAFGZsUq/QtLNiSfiE5jjjNsCBqinw4bOiRy4hyrnIRrXtJCjlku2RUy53jz6VzSP0xtqcxGr8nteQmo9yQlzctsod4qLXmcbFA2hcmHLEuwXxbKs8oTXHQfPOvcC7ynpGPH9z3SKncz6TiX6igrOjo7XKr4Vf/ZGL5fysK4fGiqcx/Fben2tMICWf51eUvegJpI9+tXKn3CdqcRen8n/89w3ZX+rst7GaYQNpzpsJDMbx3n5R3MFq5k3iNgFyNap6KTefrFUNrIiaEu+eH9VgFNrILPVK93zQIiALS1M=");

            WrapperSimpleTypesDTO wrapper = await noticiasBusiness.ModificarNoticia(noticias);

            Assert.IsNotNull(wrapper);
        }
        public async Task PagosBusiness_CrearHistorialPagoPersona_ShouldCreate()
        {
            PagosBusiness pagosBusiness = new PagosBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            HistorialPagosPersonas historial = await secure.DecryptMessageToEntity <HistorialPagosPersonas>(@"NbVoRgHfU14tUiDhoFmBl+nKnNcyU4VFF+nB35q/ckxZ4GKhX94bXUdY8cUVAJOS7u+AcL0NRHelKKVq3X/IGadCcgcuyzuaMAbLqnssCpnSYRBkQEeor89aXMET8Isi26hUfjUy4WHf5UYEyts29UnVyz9j2LS7XXD6c32DaVTtiePuciQ1xF1OJuX2AngQvMS66Zu4/gNB15pjdGzmioq/hEvQds0rtL+cvGL3C9ah/j6a3deCzWuC0cjo9QEs21+IMSlDkhzxMSNE5jy+QoWNIboh47VBRpeRjk4kF97vlINtN4NPrG/gBzKVaAsBYGGIRskBmf8F/Ez0bkplms0wp3bAkaYDYEue49pAap9kyGK8yjb7sJlmagm3YvoNEIqr1xJ15E0cgUz0f51VLQZN0I+wGNcreGdmCFktJ6EcQceM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nwdiX8h8DUrdb0Qb0Y44zbAgaop8OGzokcuIcq5yEa17SQo5ZLtkVMud48+lUNXgypQ0LVhxtrsT7dSevZo5tegE7t+WCu95JK+T9Tk4JBccSbCCTm3fPv0nOdTqeZktZAV0Nd2FgtNVJL32lSPY2lcoZm2thRp0WI/WeRxoBNy8IOQqAKjMsMttnRza+VTM+lS4VP2Wbl+uEtAzq0yQbbQ+PWB5lE87vKpViCrrRZy5nnd3DloS1WUWKlSd+dRkLakJg9UZzrcNf2+ceUORFsGrbbTA8hXtpCGqPdWS5be3ncqTKx+yHH8BlXAKnxxH+HCFpAr0ITpVbE3qSgKygXiJXMBS4x7a2yM54TKOCZ6M3WfgyE5xFIq1n2EGl8p2moKx0GBJevk7puCzSs2cKqsLRt5EmG0V/QhmBa4UejCzom3UPtvogpESgKdgB7xkB+8i4DGM2zmdQ3kG+8=");

            WrapperSimpleTypesDTO wrapper = await pagosBusiness.CrearHistorialPagoPersona(historial);

            Assert.IsNotNull(wrapper);
        }
Esempio n. 5
0
        public async Task ChatBusiness_CrearContacto_ShouldCreate()
        {
            ChatsBusiness chatBusiness = new ChatsBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Contactos contactoParaCrear = await secure.DecryptMessageToEntity <Contactos>(@"myavxScWEWalZPmYHfCSEb1s0RemPqBgUeQL0jQnVdOX7+lOcyU1ZnnuY1svL6dCx5UDnLp7IhHH08lYhsAC7kS6af5RQ5VHTYEOSGaID7Rc3LbKHeKi15nGxQNoXJhyxLsF8WyrPKE1x0Hzzr3Au8p6Rjx/c90ip3M+k4l+ooKzo6O1yq+FX/2Ri+X8rCuHxoqnMfxW3p9rTCAln+dXlL3oCaSPfrVyp9wnanEXp/J//PcN2V/q7LexmmEDac6bIhU+K4eaQc5y2p6MRpCdRTWqeik3n6xVDayImhLvnh/VYBTayCz1Svd80CIgC0tT");

            Tuple <WrapperSimpleTypesDTO, TimeLineNotificaciones> wrapper = await chatBusiness.CrearContacto(contactoParaCrear);

            Assert.IsNotNull(wrapper.Item1);
        }
        public SecureMessageHelperTest()
        {
            _secureHelper = new SecureMessagesHelper();
            _usuario      = "Nombre";
            _clave        = "Clave";

            _usuarioEntity = new UsuariosDTO
            {
                Usuario = _usuario,
                Clave   = _clave
            };
        }
Esempio n. 7
0
        public async Task PersonasBusiness_BuscarPersona_ShouldSearch()
        {
            PersonasBusiness personaBusiness = new PersonasBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Personas persona = await secure.DecryptMessageToEntity <Personas>(@"PaT8TpwHeIZqCLQGQGhIHCX4xp2SUym5EqCt3gV/C/yDZH7LR8SUNZoHj470ajGREMgwBzZtFuWMYT2uwvvyn3hOmejf8VGQxYsjwaDvWnabanQm7MlVwHOUau+mQa2FtwfWTNaVDk6YkQc24Ns8398rXZqrk/ccgkOzFWVmuBAA3pU3pBPDQME2EooCglMSWp3xEZb9OVBkAKN66hM9D/0CVdTlDXPKO9sHb3L76b9dNdEoQkW0wtTm6r0nqr8/elh7EPBBe4gpdyNCZKMQRxwAB1HgXKfenUF281TnCrxK+IgdS3Wkh3yY7LhVWlrWwDg1d7eNdRLGQxEKGsAOpbJloZgfpapmwZFlNT6br4nM8clf3mDojpK6Mpp0qdhI7zWbBZ3C0u4VQz3iB9dVGwyGqTlZnnbr1lWM+kTUjO/m+gCav2RbpBoVjQ2fq84pRpUl8qZr87t0DuXu+ZGgWZ1Er8bprxClV9aGF4YD+817Vw6aFUjWyzZXq2wZrxy6/ySKMSZOYO/0K+hk7dSQtDT7DwUIk+hXrSwkmtaFLHl0LSSZzB45cL8Zf84oSDBiRFU8Vl43nE8/8TGMjbPiBdSV0zDjAGoZJ0zVczUnwAjYZJM0tu3rKlQJrwxzAfmNJTEPkxAx5OZa4AJp2M5h57ZBu8DL1XeUviKrYBgBg+Y8xejMHbdPCQIde/wa/R3s0rO/XZ32kom2SN7njyoZj+afbZCdpi9k4tXYW7F7YANGcm1psx1/Ogq4DRxlPt+Y8hFKu5LetxOYAkYBa6hA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ZRYqVJ351GQtqQmD1RnOtw1/b5x5Q5EWwatttMDyFe2kIao91ZLlt7edypMrH7IcfwGVcAqfHEf4cIWkCvQhOlVsTepKArKBeIlcwFLjHtrbIznhMo4JnozdZ+DITnEUirWfYQaXynaagrHQYEl6+Tum4LNKzZwqqwtG3kSYbRX9CGYFrhR6MLOibdQ+2+iCkRKAp2AKE2hKdtrRWpZ+9GVpCgQ77OATUdUNVuNBwrqOWA39BeAIuq9sLQHpr5YJi+5Rn5pDUHcK0/01NE4CCvpwZ+WJzfIfg+EtlRNvUIF982Vl5k24fL4MqCiD2MkCZIZG2G+wGhh+yN/6icVQVpK1QYhwF4KrQ6nzd0ykbwd9GRVjTt6WImXwLuZz05ZS3meD5/iwq5akH3/bY8YLkzN2HL2KUeGUi4QP3TOgC3tiXhDMGFuvMllbezmvAodjCvKCTvyS8fXgpfO+HgMhiyKH0M9uwAzP9vRQWoknfbQmUjiEfRNGQdCUpfjyLf+E/kPs1Bf8Jk0HfWG74B3QfFAXOq1kYJWoIaEjpovixYT+wV357zEv6+3gapOyUCwNlcLgmnWAsGvOXIIgqoVaLsEF9PIKQ==");

            PersonasDTO personaBuscada = await personaBusiness.BuscarPersona(persona);

            Assert.IsNotNull(personaBuscada);
        }
Esempio n. 8
0
        public async Task AnunciantesBusiness_CrearAnunciante_ShouldCreate()
        {
            AnunciantesBusiness anuncianteBusiness = new AnunciantesBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            // No funca ese json encriptado cambiar
            Anunciantes anuncios = await secure.DecryptMessageToEntity <Anunciantes>(@"myavxScWEWalZPmYHfCSEfWpiPchVOcGT9A8w1I9d84wJFsXKeoN2P7B7BpwJ8InQa8vd3qVF8IEO0X7aBhBEqh+dNJV9s5B7DNOloKoabXXQsfuTvFcMe5CqprNY3ctufryHyCj5fykjKmkzC7+ULOaWzOpf6Cfp+EBsC/yDoitVPsY9YnrMbjC9Gbq9MK1r+WL+Hm4L4Da1bWsD/hUwzDPKpyH+UDf3zZC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ness.CrearAnunciante(anuncios, null, null);

            Assert.IsNotNull(wrapper);
        }
        public async Task CandidatosBusiness_CrearCandidato_ShouldCreate()
        {
            CandidatosBusiness candidatoBusiness = new CandidatosBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Candidatos candidatoParaCrear = await secure.DecryptMessageToEntity <Candidatos>(@"ObwxOp5p9XcBt2sNC9Gqy7mlc0+is/gdIUML795w8tDYZJM0tu3rKlQJrwxzAfmN5MZ04hKCWit00lZ9dY6SJJ0joHMdN6V/Jxyzo2kHKiryzKaWOPLOdj3unO6lwzgCx7FlvpI27xVyWH2lYd8ipIQmLhszALACp5u/GnOMlHFXz8C4xiOld4EkkwZZQhoVOiZjz2CB7cM4YLVgkhTd8pe8Bqh3hqatZY2U7tqnBuwS3vC8Bp+eo2yqhgw77F9pPaT8TpwHeIZqCLQGQGhIHOziCZYwx7bKLOC7JQvgsbSDZH7LR8SUNZoHj470ajGREMgwBzZtFuWMYT2uwvvyn3hOmejf8VGQxYsjwaDvWnabanQm7MlVwHOUau+mQa2FtwfWTNaVDk6YkQc24Ns835ESQlnr9q/SWkC7Vs/MIuYA3pU3pBPDQME2EooCglMSWp3xEZb9OVBkAKN66hM9D9TJd+CAUSKkSzMlsmeJ2HMJTxpq/wCbRkFistAIa7ntZ9NW8qP8G2fh3+WoQ4gWxmLUPfhMTRPFm2qXegrQDo0D2903ZjU8otoC6NB8JXl3YdfF2d0FIs10HpuI3oJWMIxqZo86qj81RU0VlYu6uNMA1OgJmkAMg2eizg9H5D9m/rseC4CBrdlRYI9ueJvl2IhDDeGtJhH9egE+qzqmVB1vDNvtvE8gu1JF0fq/P5Fwr+IOd5JgcRx/CvNB98Xj0DruqRvrvzbtNCEq6YHfzqOWTsCVCPmxHyXP+Yojk1Lt7jzABSASA3VidJNMz3XuftYlgP3mu0+X5Lhev0UbwIrAvECzePmO2I0NxddFEPYVvOyt8cWw3/H71X8i4rKSdqLdCxk5qItb79+ckMBYqoEXuKo4dsmS3os2J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GJk/YlgG68yWVt7Oa8Ch2MK8oJO/INbuZal9V6EP3xYnYC4iyNADM/29FBaiSd9tCZSOIR9E0ZB0JSl+PIt/4T+Q+zUF/wmTQd9YbvgHdB8UBc6rWRglaghoSOmi+LFhP7BXfnvMS/r7eBqk7JQLA2VwuCadYCwa85cgiCqhVouwQX08gp");

            WrapperSimpleTypesDTO wrapperCrearCandidato = await candidatoBusiness.CrearCandidato(candidatoParaCrear, null, null);

            Assert.IsTrue(wrapperCrearCandidato.Exitoso);
            Assert.AreNotEqual(wrapperCrearCandidato.NumeroRegistrosAfectados, 0);
        }
Esempio n. 10
0
        public async Task GruposBusiness_CrearGrupoEvento_ShouldCreate()
        {
            GruposBusiness gruposBusiness = new GruposBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            GruposEventos grupoEvento = await secure.DecryptMessageToEntity <GruposEventos>(@"f886TdSackKFkuUgmcuDFU7GIkIUlxeSc88k9qRaorfvJOZDWrH0VAJ/asGVKGBLEtZ+YYqJv3HhBHrHc4CcG/ZWm61PVOtrxJVEieAiK4agCwOvp1422Ovwx5Jv7b0z8Tsr2YwPJPBwh2MmDpK+az4KwgeYQyV/JgDS8DFrqh5nTaWqHyVIaIYXN8nwnZ/e5V39D0Qy1om0rnBk2H+aKPc0HhFwrZDphnyacwWgYmN3CYe9qY4O9s8ZIRgcaBpneX45+CAbYo0Xb4fLY9BDy1VFT94QD2l4uQ73dhDJxDrIOhTFJKgBifswz14DlQd+E7yxFVcmXfIB0xNwH4N0j3E+RMGVwFyMlbhTxxfGPaI+NxUtP+Kn/250c9xpwWqnhjEt1BMBbi9tfqmyvHNRgaEZdMa2K0MOrO5VumXTRQT+ks4BCudPM3nrR0JVM14jSQeQIvMEhK530Zydp6buQane/vHLGcEG0r3adrpaRVXKseBjM1D1O6PHwMsjqXPKNe2Aex9/ZnZAfjOIUtXCJOHcvzHuBvDc4zG0suaFuQy2qKwPWqq8LK4Lrs5Xs/mUA+UHHVj5O1TW5yY9KK4YnrHXlhLtDDnygEdsmEVuWuAeRDn1/PZaY4nup/c7LQKsI3ezKMTiAtIMmJLtLRAJ9lkDYu6+peHQCEhcZdwMPDIF61EwuB0RFIBYDuKpAzEBHjhSIZy9wt/RNHk5I3zT1CNtvR03PMCRarHSDY5Si4DL5EZWOt4kzaccja1wXCNfJDkmmSZN1iPX0u79tom4Va0WcuZ53dw5aEtVlFipUnfnUZC2pCYPVGc63DX9vnHlDkRbBq220wPIV7aQhqj3VkuW3t53Kkysfshx/AZVwCp8cR/hwhaQK9CE6VWxN6koCsoF4iVzAUuMe2tsjOeEyjgmejN1n4MhOcRSKtZ9hBpfKdpqCsdBgSXr5O6bgs0rNnCqrC0beRJhtFf0IZgWuFHows6Jt1D7b6IKREoCnYAe8ZAfvIuAxjNs5nUN5Bvv");

            WrapperSimpleTypesDTO wrapper = await gruposBusiness.CrearGrupoEvento(grupoEvento);

            Assert.IsNotNull(wrapper);
            Assert.IsTrue(wrapper.Exitoso);
        }
Esempio n. 11
0
        public async Task GruposBusiness_CrearGrupo_ShouldCreate()
        {
            GruposBusiness gruposBusiness = new GruposBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Grupos grupo = await secure.DecryptMessageToEntity <Grupos>(@"myavxScWEWalZPmYHfCSEfWpiPchVOcGT9A8w1I9d87bXzWyxvP2UnltyXOQtKmZg17jsJMBJwi6n/tq/iRQuyUp5qwpCIyLYyJ85gR5jnMd3w4CAk1S4ijltD1pBS9ZPr+kJGkljYv7u+zhRMWi1THwY+R+DbuWCVV/2Pbb4JsOQqBH/bcZJ6p3gME8HZIhBiYDcQRHMkZl+pPqZ/AJ9P3fSJxTc90kVR5IManaRgwjiXeJeNSIC4cqZrCAwx9+Du8VTT12zoAhLhI6pKHTIwcpF+79J+bO7Ng8colcd0wMiR9PlDcG1bEA063YlPopy2z3XfpMpdk1s5tK+4wJy0YDkn4VZFW52hf22QWEDT41yXKgMlHaplG73GaUTAvQMUQkYU9GQWiFPL4V9gRXt8EvRpL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oKzGg==");

            WrapperSimpleTypesDTO wrapper = await gruposBusiness.CrearGrupo(grupo, null, null);

            Assert.IsNotNull(wrapper);
            Assert.IsTrue(wrapper.Exitoso);
        }
Esempio n. 12
0
        public async Task NoticiasBusiness_EliminarNoticia_ShouldDelete()
        {
            NoticiasBusiness noticiasBusiness = new NoticiasBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Noticias noticia = new Noticias
            {
                Consecutivo = 5
            };

            WrapperSimpleTypesDTO wrapper = await noticiasBusiness.EliminarNoticia(noticia);

            Assert.IsNotNull(wrapper);
        }
        public async Task PlanesBusiness_EliminarPlan_ShouldDelete()
        {
            PlanesBusiness planesBusiness = new PlanesBusiness();

            SecureMessagesHelper secure = new SecureMessagesHelper();

            Planes plan = new Planes
            {
                Consecutivo   = 13,
                CodigoArchivo = 2344
            };

            WrapperSimpleTypesDTO wrapper = await planesBusiness.EliminarPlan(plan);

            Assert.IsNotNull(wrapper);
        }
        public async Task PagosBusiness_ModificarEstadoPagoPersona_ShouldModify()
        {
            PagosBusiness pagosBusiness = new PagosBusiness();

            //HistorialPagosPersonas pagoParaBuscar = new HistorialPagosPersonas
            //{
            //    Consecutivo = 23,
            //    EstadoDelPago = EstadoDeLosPagos.Aprobado,
            //    ReferenciaPago = "1000",
            //    ObservacionesCliente = "AHHH"
            //};

            SecureMessagesHelper secure = new SecureMessagesHelper();

            HistorialPagosPersonas pagoParaBuscar = await secure.DecryptMessageToEntity <HistorialPagosPersonas>(@"V2ml95eBh7ItyXvGE6HFf6mruGwgX8chJa/x60rD2aiiauGmpgz8l9RegHPQoX+zJ7f+wGTg/V85DDxde85FS4Niz3y1KOVixk6P/r+3tXXVSzXdmLGOBpizdjTQ232Lhgnayf/nSJxh4OvS3WCpxJ9kEqOqozcYykOf6z7UjtFqQMwPbFE1Sx8+PW2KXIVidJGdu8GuLnlL7KNIJRnYNvtStdcPrMlqtW3UA8HBRpf/JEII5BCUGnmjz/WIm3p/i6KTd+3Di5Rks+rpQ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uq6cSBmIKWRdjMaCqFuuZ7gmmdS8T+9BB4W27y/FI3Sz3LIpXhu0ex4WalEmUvlnXmtgiR4gHwqwQw5W878WtTLRo1KSNq0mF12LjLX4ueZnWF8dMOf9A/dcwLuEVtZzZ909NJZY4KzBHvgCB/oQsOa2iH0hef3FlniVXu2gp6mTdI04ABH1XNnZQH8kGAed79AR78qzp73A7K7WgFR3nQNDaYNXPyZNoCFd8EZmFSoW0lOkHW71ocqFMIHaif/+7RYo8HUTYNw6JFoUS/eYZ79A4AZPp2zU1p4T52c5PIWSJRbl1hAL8Pi/DM4JuPcaOlcWyJlewOAamFbAG4dnN8+Btf+nw7cBoYfsjf+onFUFaStUGIcBeCq0Op83dMpG8HfRkVY07eliJl8C7mc9OWUt5ng+f4sKuWpB9/22PGC5Mzdhy9inpU1HpCYdb94n/8YmT9iWAbrzJZW3s5rwKHYwrygk78g1u5lqX1XoQ/fFidgLiLI0AMz/b0UFqJJ320JlI4hH0TRkHQlKX48i3/hP5D7NQX/CZNB31hu+Ad0HxQFzqtZGCVqCGhI6aL4sWE/sFd+e8xL+vt4GqTslAsDZXC4Jp1jSFB/vl072wOOo8qf3W/ggGJgNxBEcyRmX6k+pn8An0/d9InFNz3SRVHkgxqdpGDCOJd4l41IgLhypmsIDDH34O7xVNPXbOgCEuEjqkodMjBykX7v0n5s7s2DxyiVx3TAyJH0+UNwbVsQDTrdiU+inLbPdd+kyl2TWzm0r7jAnLRgOSfhVkVbnaF/bZBYQNPjXJcqAyUdqmUbvcZpRMC9AxRCRhT0ZBaIU8vhX2BFe33VJR0GNUJmPkUJgDo9D35A==");

            var respuesta = await pagosBusiness.ModificarEstadoPagoPersona(pagoParaBuscar);

            Assert.IsNotNull(respuesta);
        }