File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/java/cloud/dnation/hetznerclient Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ components:
1313 description : Item identifier
1414 schema :
1515 type : integer
16- format : int32
16+ format : int64
1717 minimum : 0
1818 schemas :
1919 Identifier :
2020 description : Object identifier/unique key
21- format : int32
21+ format : int64
2222 type : integer
2323
2424 Labeled :
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public void testGetNetworkById() throws IOException {
5656 Call <GetNetworkByIdResponse > call = api .getNetworkById (10 );
5757 GetNetworkByIdResponse result = call .execute ().body ();
5858 assertEquals ("my-net-1" , result .getNetwork ().getName ());
59- assertEquals (10 , (int )result .getNetwork ().getId ());
59+ assertEquals (10 , (long )result .getNetwork ().getId ());
6060 assertEquals ("10.132.0.0/14" , result .getNetwork ().getIpRange ());
6161 }
6262
@@ -78,7 +78,7 @@ public void testGetNetworksBySelector() throws IOException {
7878 Call <GetNetworksBySelectorResponse > call = api .getNetworkBySelector ("test=1" );
7979 GetNetworksBySelectorResponse result = call .execute ().body ();
8080 assertEquals (1 , result .getNetworks ().size ());
81- assertEquals (12 , (int ) result .getNetworks ().get (0 ).getId ());
81+ assertEquals (12 , (long ) result .getNetworks ().get (0 ).getId ());
8282 assertEquals ("my-net-2" , result .getNetworks ().get (0 ).getName ());
8383 assertEquals ("10.132.0.0/14" , result .getNetworks ().get (0 ).getIpRange ());
8484 assertEquals ("1" , result .getMeta ().getPagination ().getTotalEntries ());
You can’t perform that action at this time.
0 commit comments