Skip to content

Commit 9689290

Browse files
eleonora2687jzheng2017
authored andcommitted
feat: get the list of markets where spotify is available.
1 parent 9a48701 commit 9689290

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Please describe the tests that you ran to verify your changes. Provide instructi
2929
- [ ] My changes generate no new warnings
3030
- [ ] I have added tests that prove my fix is effective or that my feature works
3131
- [ ] New and existing unit tests pass locally with my changes
32-
- [ ] Any dependent changes have been merged and published in downstream modules
32+
- [ ] Any dependent changes have been merged and published in downstream modules

src/main/java/spotify/models/markets/MarketFull.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
public class MarketFull {
66
private List<String> markets;
7+
78
public List<String> getMarkets() {
89
return markets;
9-
1010
}
1111
}

src/main/java/spotify/retrofit/services/MarketService.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package spotify.retrofit.services;
22

33
import retrofit2.Call;
4-
import retrofit2.http.GET;
5-
import retrofit2.http.Header;
4+
import retrofit2.http.*;
65
import spotify.models.markets.MarketFull;
76

87
public interface MarketService {

src/test/java/spotify/api/impl/MarketApiRetrofitTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static org.mockito.Mockito.verify;
2222
import static org.mockito.Mockito.when;
2323

24-
2524
public class MarketApiRetrofitTest extends AbstractApiRetrofitTest {
2625
private MarketApiRetrofit sut;
2726
@Mock

0 commit comments

Comments
 (0)