File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/test/java/com/spotify/requests/tracks Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
33import com .spotify .SpotifyClient ;
44import com .spotify .SpotifyClientBuilderTester ;
5+ import com .spotify .requests .RequestResponse ;
56import com .spotify .requests .util .Market ;
67import org .junit .jupiter .api .Test ;
78
@@ -27,12 +28,14 @@ public void severalTrackGetUrlBuildTest() {
2728
2829 @ Test
2930 public void severalTrackGetExecuteTest () {
30- String [] songs = new String []{"1ljziaoMnRH95aPeOSGAtr" , "2fOYcnUo9iPTOqIlSg26MY" }
31+ String [] songs = new String []{"1ljziaoMnRH95aPeOSGAtr" , "2fOYcnUo9iPTOqIlSg26MY" };
3132 SeveralTracksGet tracksGet = new SeveralTracksGet (songs );
3233
3334 SpotifyClient scbt = new SpotifyClientBuilderTester ().getBuiltClient ();
3435
35- scbt .executeRequest (tracksGet );
36+ RequestResponse response = scbt .executeRequest (tracksGet );
37+
38+ assertEquals (200 , response .getCode ());
3639
3740
3841 }
You can’t perform that action at this time.
0 commit comments