Skip to content

Commit

Permalink
Fix sonaqube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 7, 2025
1 parent 1a06da3 commit 920e157
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ void shouldWriteBackedTextKeyWithHeaders() {
.toList();
assertThat(records)
.hasSize(1)
.anySatisfy(
record -> this.expectBackedText(basePath, "foo", record.key(), "keys", record.headers(), true));
.anySatisfy(producerRecord -> this.expectBackedText(basePath, "foo", producerRecord.key(), "keys",
producerRecord.headers(), true));
}

@Test
Expand Down Expand Up @@ -338,9 +338,8 @@ void shouldWriteBackedTextValueWithHeaders() {
.toList();
assertThat(records)
.hasSize(1)
.anySatisfy(
record -> this.expectBackedText(basePath, "foo", record.value(), "values", record.headers(),
false));
.anySatisfy(producerRecord -> this.expectBackedText(basePath, "foo", producerRecord.value(), "values",
producerRecord.headers(), false));
}

@Test
Expand Down

0 comments on commit 920e157

Please sign in to comment.