Skip to content

Commit

Permalink
ReportPortalHook: Tests WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 8, 2024
1 parent db08eda commit 0d8697f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ public void setupMock() {
mockBatchLogging(client);
}

public static List<Arguments> dataValues() {
public static Stream<Arguments> dataValues() {
List<Object> descriptions = Arrays.asList(
null,
"",
" "
);
return Arrays.asList(Arguments.of(true, descriptions), Arguments.of(false, descriptions));
return Stream.of(true, false).flatMap(b -> descriptions.stream().map(d -> Arguments.of(b, d)));
}

@ParameterizedTest
Expand Down

0 comments on commit 0d8697f

Please sign in to comment.