Skip to content

Commit

Permalink
[MODORSERS-1026] - Increased unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Apr 4, 2024
1 parent 1298d3b commit 9837b1b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ void processTemplate(VertxTestContext vertxTestContext) throws IOException {
void throwErrorWhenSettingNotFound(VertxTestContext vertxTestContext) throws IOException {
var routingList = new JsonObject(getMockData(ROUTING_LIST_MOCK_DATA_PATH + ROUTING_LIST_ID + ".json")).mapTo(RoutingList.class);
var users = new JsonObject(getMockData(USERS_MOCK_DATA_PATH + "user_collection.json")).mapTo(UserCollection.class);
var expectedTemplateRequest = new JsonObject(getMockData(ROUTING_LIST_MOCK_DATA_PATH + ROUTING_LIST_ID + "-expected-template-request.json"));

doReturn(succeededFuture(routingList)).when(restClient).get(any(RequestEntry.class), eq(RoutingList.class), any());
doReturn(succeededFuture(users)).when(userService).getUsersByIds(eq(routingList.getUserIds()), any());
Expand Down

0 comments on commit 9837b1b

Please sign in to comment.