Skip to content

Commit

Permalink
#29498 Sonarlint feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgambarios committed Oct 23, 2024
1 parent ccf4819 commit 5518ef3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,14 @@ public class JobQueueHelperIntegrationTest extends TestBaseJunit5WeldInitiator {

@Test
void testEmptyParams(){

final var jobParams = new JobParams();
final var user = mock(User.class);
final var request = mock(HttpServletRequest.class);

assertThrows(IllegalArgumentException.class, () -> {
jobQueueHelper.createJob(
"any", new JobParams(), mock(User.class), mock(HttpServletRequest.class)
"any", jobParams, user, request
);
});
}
Expand Down

0 comments on commit 5518ef3

Please sign in to comment.