Skip to content

Commit

Permalink
fix: Make revenue long instead of int (#214)
Browse files Browse the repository at this point in the history
* fix: Make revenue long instead of int

* Update movie details test and details_with_append test to have long revenue
  • Loading branch information
mckenziecallum authored Apr 20, 2024
1 parent 73ac523 commit ee5f4fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class MovieDb extends IdElement {
private String releaseDate;

@JsonProperty("revenue")
private Integer revenue;
private Long revenue;

@JsonProperty("runtime")
private Integer runtime;
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/api_responses/movies/details.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
],
"release_date": "1999-10-15",
"revenue": 100853753,
"revenue": 2800000000,
"runtime": 139,
"spoken_languages": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
}
],
"release_date": "2004-11-18",
"revenue": 1408947,
"revenue": 2800000000,
"runtime": 92,
"spoken_languages": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/api_responses/movies/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
],
"release_date": "1999-10-15",
"revenue": 100853753,
"revenue": 2800000000,
"runtime": 139,
"spoken_languages": [
{
Expand Down

0 comments on commit ee5f4fa

Please sign in to comment.