Skip to content

Commit

Permalink
ocpp-v1_6: Update StopTransactionRequestTest for BigInteger TxId
Browse files Browse the repository at this point in the history
  • Loading branch information
bantu committed Feb 5, 2024
1 parent 884e257 commit 786aba3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void setIdTag_nullGiven_doesNotRaiseException() {
@Test
public void setIdTag_nullGiven_passesValidation() {
request.setMeterStop(2);
request.setTransactionId(5);
request.setTransactionId(BigInteger.valueOf(5));
request.setTimestamp(ZonedDateTime.now());
request.setIdTag(null);
Assert.assertTrue(request.validate());
Expand Down

0 comments on commit 786aba3

Please sign in to comment.