Skip to content

Commit

Permalink
fix: sonar issues (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Jul 19, 2024
1 parent e959d0b commit 7d1d3b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void getHelpByIdTest() {

@Test
void getHelpsNoTenantTest() {
var data = given()
given()
.contentType(APPLICATION_JSON)
.auth().oauth2(getKeycloakClientToken("testClient"))
.get()
Expand Down Expand Up @@ -236,8 +236,8 @@ void searchHelpsTest() {
.as(HelpPageResultDTO.class);

assertThat(data).isNotNull();
assertThat(data.getTotalElements()).isEqualTo(0);
assertThat(data.getStream()).isNotNull().hasSize(0);
assertThat(data.getTotalElements()).isZero();
assertThat(data.getStream()).isNotNull().isEmpty();

criteria.setItemId("cg");
data = given()
Expand Down

0 comments on commit 7d1d3b2

Please sign in to comment.