Skip to content

Commit

Permalink
long verwenden statt Long
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonfly28 committed Oct 25, 2024
1 parent edc7596 commit b3cb94d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
@Builder
public record WaehleranzahlModel(
@NotNull BezirkUndWahlID bezirkUndWahlID,
@NotNull Long anzahlWaehler,
@NotNull long anzahlWaehler,
@NotNull LocalDateTime uhrzeit) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void should_returnEqualWaehleranzahlModel_when_waehleranzahlIsMapped() {
val wahlID = "wahlID01";
val wahlbezirkID = "wahlbezirkID01";
BezirkUndWahlID bezirkUndWahlID = new BezirkUndWahlID(wahlID, wahlbezirkID);
val anzahlWaehler = 99L;
val anzahlWaehler = 99;
LocalDateTime uhrzeit = LocalDateTime.now();
val waehleranzahlEntity = new Waehleranzahl(bezirkUndWahlID, anzahlWaehler, uhrzeit);

Expand All @@ -33,7 +33,7 @@ void should_returnEqualWaehleranzahl_when_waehleranzahlModelIsMapped() {
val wahlID = "wahlID01";
val wahlbezirkID = "wahlbezirkID01";
BezirkUndWahlID bezirkUndWahlID = new BezirkUndWahlID(wahlID, wahlbezirkID);
val anzahlWaehler = 99L;
val anzahlWaehler = 99;
LocalDateTime uhrzeit = LocalDateTime.now();
val waehleranzahlModel = new WaehleranzahlModel(bezirkUndWahlID, anzahlWaehler, uhrzeit);

Expand Down

0 comments on commit b3cb94d

Please sign in to comment.