예제 #1
0
        public void RelationsByRfcUuid()
        {
            var     build      = new BuildSettings();
            Pending pendientes = new Pending(build.Url, build.User, build.Password);
            var     response   = pendientes.PendingsByRfc(build.Rfc);

            Assert.IsTrue(response.message != null);
        }
예제 #2
0
        public void RelationsByRfcUuid()
        {
            var              build      = new BuildSettings();
            Pending          pendientes = new Pending(build.Url, build.User, build.Password);
            PendingsResponse response   = pendientes.PendingsByRfc(build.Rfc);

            Assert.IsTrue(response.status == "success");
        }
예제 #3
0
        public void ValidateParameters()
        {
            var     resultExpect = "CA1101 - No existen peticiones para el RFC Receptor.";
            var     build        = new BuildSettings();
            Pending pendientes   = new Pending(build.Url, build.User, build.Password);
            var     response     = pendientes.PendingsByRfc("Test");

            Assert.IsTrue(response.message.Contains((string)resultExpect) || response.status != "success");
        }
예제 #4
0
        public void ValidateParameters()
        {
            var     resultExpect = "La fecha de emisión no esta dentro de la vigencia del CSD del Emisor";
            var     build        = new BuildSettings();
            Pending pendientes   = new Pending(build.Url, build.User, build.Password);
            var     response     = pendientes.PendingsByRfc("Test");

            Assert.IsTrue(response.message.Contains((string)resultExpect));
        }