Skip to content

Commit

Permalink
HOTFIX: fix scala 2.12 build again
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccabe committed Dec 7, 2023
1 parent c515bf5 commit c062e5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ class ControllerApisTest {
)))))
.thenReturn(Collections.singletonList(AuthorizationResult.ALLOWED))
when(controller.assignReplicasToDirs(any[ControllerRequestContext], ArgumentMatchers.eq(request.data)))
.thenReturn(FutureUtils.failedFuture(Errors.UNKNOWN_TOPIC_OR_PARTITION.exception()))
.thenReturn(FutureUtils.failedFuture[AssignReplicasToDirsResponseData](Errors.UNKNOWN_TOPIC_OR_PARTITION.exception()))

val response = handleRequest[AssignReplicasToDirsResponse](request, controllerApis)
assertEquals(new AssignReplicasToDirsResponseData().setErrorCode(Errors.UNKNOWN_TOPIC_OR_PARTITION.code()), response.data)
Expand Down

0 comments on commit c062e5a

Please sign in to comment.