Skip to content

Commit

Permalink
test (kubernetes-tests) : Add missing build() for APIGroupListBuild…
Browse files Browse the repository at this point in the history
…er in mockserver expectation

Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia committed Jan 2, 2024
1 parent 7d99717 commit 432f1c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void setHeaders(Headers headers) {
}
}).once();
server.expect().withPath("/apis").andReturn(HttpURLConnection.HTTP_OK, new APIGroupListBuilder()
.addToGroups(new APIGroupBuilder().withName("security.internal.openshift.io").build()))
.addToGroups(new APIGroupBuilder().withName("security.internal.openshift.io").build()).build())
.once();

client.getConfiguration().setUsername("foo");
Expand Down

0 comments on commit 432f1c4

Please sign in to comment.