Skip to content

Commit

Permalink
test: #81 Fix JacksonUtilsTest: access kotlin Car enum fields via…
Browse files Browse the repository at this point in the history
… getters.
  • Loading branch information
dmitry-weirdo committed Nov 25, 2024
1 parent b2fa6ef commit 5d89dec
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void existingPlayer() {
CarAssert
.assertThat(car)
.isNotNull()
.hasCar(Car.F1.id)
.hasCar(Car.F1.getId())
.hasColor("#BF1300");

Map<String, Integer> tuning = getNonEmptyTuning(car);
Expand Down Expand Up @@ -132,7 +132,7 @@ void playerWithPersonalCarId() {
CarAssert
.assertThat(car)
.isNotNull()
.hasCar(Car.CARAVEL.personalId)
.hasCar(Car.CARAVEL.getPersonalId())
.hasColor("#000000");

assertEmptyTunning(car);
Expand Down Expand Up @@ -172,7 +172,7 @@ void brandNewPlayer() {
CarAssert
.assertThat(car)
.isNotNull()
.hasCar(Car.ZAZ_965.id)
.hasCar(Car.ZAZ_965.getId())
.hasColor("#777777");

assertEmptyTunning(car);
Expand Down Expand Up @@ -213,7 +213,7 @@ void klavoMechanicWithHiddenProfile() {
CarAssert
.assertThat(car)
.isNotNull()
.hasCar(Car.AUDI_TT.id)
.hasCar(Car.AUDI_TT.getId())
.hasColor("#893425");

Map<String, Integer> tuning = getNonEmptyTuning(car);
Expand Down

0 comments on commit 5d89dec

Please sign in to comment.