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); }
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"); }
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"); }
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)); }