File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ public Seed(){
1717 this .seedTracks = new ArrayList <>();
1818 }
1919
20- public void AddSeedArtist (String seedArtist ){
21- this .seedArtists .add (" seedArtist" );
20+ public void addSeedArtist (String seedArtist ){
21+ this .seedArtists .add (seedArtist );
2222 }
2323
24- public void AddSeedGenre (String seedGenre ){
24+ public void addSeedGenre (String seedGenre ){
2525 this .seedGenres .add (seedGenre );
2626 }
2727
28- public void AddSeedTrack (String seedTrack ){
28+ public void addSeedTrack (String seedTrack ){
2929 this .seedTracks .add (seedTrack );
3030 }
3131
Original file line number Diff line number Diff line change @@ -68,6 +68,11 @@ void categoryPlaylistTest() throws IOException{
6868 @ Test
6969 void getRecommendations () throws IOException {
7070
71+ Seed seed = client .getSeed ();
72+ seed .addSeedArtist ("4NHQUGzhtTLFvgF5SZesLK" );
73+ seed .addSeedTrack ("0c6xIDDpzE81m2q797ordA" );
74+ seed .addSeedGenre ("hip-hop" );
75+
7176 BaseRecommendation recommendations = client .getRecommendations (client );
7277 assertNotNull (recommendations );
7378
You can’t perform that action at this time.
0 commit comments