Skip to content

Commit

Permalink
remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Aug 23, 2024
1 parent 020acf4 commit 5893474
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/test/java/org/arkecosystem/client/api/RoundsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,4 @@ void show() throws IOException {
Map<String, Object> actual = client.api().rounds.show(12345);
assertTrue((boolean) actual.get("success"));
}

@Test
void all() throws IOException {
Connection connection = MockHelper.connection();
Map<String, Object> actual = connection.api().rounds.all();
assertTrue((boolean) actual.get("success"));
}

@Test
void allWithParams() throws IOException {
Connection connection = MockHelper.connection();
Map<String, Object> actual =
connection.api().rounds.param("page", 1).param("limit", 100).all();
assertTrue((boolean) actual.get("success"));
}

@Test
void show() throws IOException {
Connection connection = MockHelper.connection();
Map<String, Object> actual = connection.api().rounds.show(12345);
assertTrue((boolean) actual.get("success"));
}
}

0 comments on commit 5893474

Please sign in to comment.