Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
leingenm committed Apr 27, 2024
1 parent 76805d1 commit 1eaaba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/com/ypm/service/PlayListServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ void givenCorrectData_whenGetPlayLists_thenPlaylistsFound() throws IOException {
when(playlists.list(List.of(Part.SNIPPET.toString()))).thenReturn(playlistsList);
when(playlistsList.setAccessToken(accessToken)).thenReturn(playlistsList);
when(playlistsList.setMine(true)).thenReturn(playlistsList);
when(playlistsList.setMaxResults(50L)).thenReturn(playlistsList);
when(playlistsList.execute()).thenReturn(playlistsListResponse);

List<Playlist> result = playListService.getPlayLists(accessToken);
Expand Down

0 comments on commit 1eaaba6

Please sign in to comment.