Skip to content

Commit

Permalink
Issue #517
Browse files Browse the repository at this point in the history
Corretto tipo colonna datiPagoPA.
  • Loading branch information
pintorig committed Sep 5, 2022
1 parent 24654b6 commit 1adaa98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.MappedSuperclass;
import javax.persistence.SequenceGenerator;

Expand Down Expand Up @@ -67,6 +68,7 @@ public enum EsitoEvento { OK, KO, FAIL }
@Column(name = "dettaglio_esito")
private String dettaglioEsito;

@Lob
@Column(name = "dati_pago_pa")
private String datiPagoPA;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void testDatiPagoPAOK() throws Exception {
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idPsp", is(nuovoEvento.getDatiPagoPA().getIdPsp())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idRiconciliazione", is(nuovoEvento.getDatiPagoPA().getIdRiconciliazione())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idStazione", is(nuovoEvento.getDatiPagoPA().getIdStazione())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idTracciato", is(nuovoEvento.getDatiPagoPA().getIdTracciato())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idTracciato", is(nuovoEvento.getDatiPagoPA().getIdTracciato()), long.class))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idModelloPagamento", is(nuovoEvento.getDatiPagoPA().getModelloPagamento())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idSct", is(nuovoEvento.getDatiPagoPA().getSct())))
.andExpect(jsonPath("$._embedded.eventi[0].datiPagoPA.idTipoVersamento", is(nuovoEvento.getDatiPagoPA().getTipoVersamento())))
Expand Down

0 comments on commit 1adaa98

Please sign in to comment.