Skip to content

Commit

Permalink
feat: get the list of markets where spotify is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
eleonora2687 authored and jzheng2017 committed Aug 3, 2024
1 parent 9a48701 commit 9689290
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Please describe the tests that you ran to verify your changes. Provide instructi
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Any dependent changes have been merged and published in downstream modules
2 changes: 1 addition & 1 deletion src/main/java/spotify/models/markets/MarketFull.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

public class MarketFull {
private List<String> markets;

public List<String> getMarkets() {
return markets;

}
}
3 changes: 1 addition & 2 deletions src/main/java/spotify/retrofit/services/MarketService.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package spotify.retrofit.services;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.*;
import spotify.models.markets.MarketFull;

public interface MarketService {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/spotify/api/impl/MarketApiRetrofitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;


public class MarketApiRetrofitTest extends AbstractApiRetrofitTest {
private MarketApiRetrofit sut;
@Mock
Expand Down

0 comments on commit 9689290

Please sign in to comment.