Skip to content

Commit

Permalink
fix: include main topic id in the response
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuzynow committed Jun 10, 2024
1 parent 8dab49c commit 7e94b30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public void retrieveData_Should_ReturnUserDataWithSessions_When_ProvidedWithUser
.status(SessionStatus.NEW)
.build());
when(sessionService.findSessionsByUser(Mockito.any(User.class))).thenReturn(inputSessions);
when(sessionTopicEnrichmentService.enrichSessionWithTopicData(Mockito.any(SessionDTO.class))).thenAnswer(invocation -> invocation.getArgument(0));
Set<SessionDTO> sessions = askerDataProvider.retrieveData(USER).getSessions();

assertEquals(2, sessions.size());
Expand Down

0 comments on commit 7e94b30

Please sign in to comment.