Skip to content

Commit dd33d95

Browse files
rohanKanojiamanusa
authored andcommitted
test (kubernetes-tests) : Add missing build() for APIGroupListBuilder in mockserver expectation
Signed-off-by: Rohan Kumar <[email protected]>
1 parent d9d007d commit dd33d95

File tree

1 file changed

+1
-1
lines changed
  • kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock

1 file changed

+1
-1
lines changed

kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/AdaptTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void setHeaders(Headers headers) {
8989
}
9090
}).once();
9191
server.expect().withPath("/apis").andReturn(HttpURLConnection.HTTP_OK, new APIGroupListBuilder()
92-
.addToGroups(new APIGroupBuilder().withName("security.internal.openshift.io").build()))
92+
.addToGroups(new APIGroupBuilder().withName("security.internal.openshift.io").build()).build())
9393
.once();
9494

9595
client.getConfiguration().setUsername("foo");

0 commit comments

Comments
 (0)