File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/com/spotify/github/v3/clients Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ public void getWorkflowRunFiltered() throws Exception {
9898 .build ();
9999
100100 final CompletableFuture <WorkflowRunResponse > actualResponse =
101- workflowRunsClient .getWorkflowRun (30433642L , null );
101+ workflowRunsClient .getWorkflowRun (30433642L , queryParams );
102102
103- assertThat (pathCaptor .getValue (), is ("/repos/someowner/somerepo/actions/runs/30433642" ));
103+ assertThat (pathCaptor .getValue (), is ("/repos/someowner/somerepo/actions/runs/30433642?excludePullRequests=true " ));
104104
105105 assertThat (actualResponse .get ().id (), is (30433642L ));
106106 assertThat (actualResponse .get ().status (), is (WorkflowRunStatus .queued ));
@@ -224,5 +224,4 @@ public void listWorkflowRunsFiltered() throws Exception {
224224 assertThat (actualResponse .get ().workflowRuns ().get (0 ).createdAt (), is (ZonedDateTime .parse ("2020-01-22T19:33:08Z" )));
225225 assertThat (actualResponse .get ().workflowRuns ().get (0 ).displayTitle (), is ("Update README.md" ));
226226 }
227-
228227}
You can’t perform that action at this time.
0 commit comments