File tree Expand file tree Collapse file tree
src/test/java/org/kohsuke/github Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1348,9 +1348,11 @@ public void getCheckRuns() throws Exception {
13481348 public void getCheckRunsWithParams () throws Exception {
13491349 final int expectedCount = 1 ;
13501350 // Use github-api repository as it has checks set up
1351+ final Map <String , Object > params = new HashMap <>(1 );
1352+ params .put ("check_name" , "build-only (Java 17)" );
13511353 PagedIterable <GHCheckRun > checkRuns = gitHub .getOrganization ("hub4j" )
13521354 .getRepository ("github-api" )
1353- .getCheckRuns ("54d60fbb53b4efa19f3081417bfb6a1de30c55e4" , Map . of ( "check_name" , "build-only (Java 17)" ) );
1355+ .getCheckRuns ("54d60fbb53b4efa19f3081417bfb6a1de30c55e4" , params );
13541356
13551357 // Check if the checkruns are all succeeded and if we got all of them
13561358 int checkRunsCount = 0 ;
You can’t perform that action at this time.
0 commit comments