Skip to content

Commit

Permalink
Merge pull request #1 from rodrigofcr/issue291-1
Browse files Browse the repository at this point in the history
Fix teste
  • Loading branch information
rodrigofcr authored Jan 30, 2024
2 parents 34f536a + e2ab5ff commit 3d6d3d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ public void boletoDeveAceitarNoMaximoDoisLocais() {
}

@Test
public void valorCobradoDeveSerZeroSemAcrescimoOuDescontos() {
public void valorCobradoDeveSerIgualAValorBoletoQuandoSemAcrescimoOuDescontos() {
Boleto b = Boleto.novoBoleto();
b.comValorBoleto("40.00");
assertEquals(BigDecimal.ZERO, b.getValorCobrado());
assertEquals(b.getValorBoleto(), b.getValorCobrado());
}

@Test
Expand Down

0 comments on commit 3d6d3d5

Please sign in to comment.