Skip to content

Commit 5a836d2

Browse files
committed
Fix soundcloud tests
1 parent 865a00a commit 5a836d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudChannelTabExtractorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static void setUp() throws IOException, ExtractionException {
3838

3939
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
4040
@Override public StreamingService expectedService() throws Exception { return SoundCloud; }
41-
@Override public String expectedName() throws Exception { return ChannelTabs.TRACKS; }
41+
@Override public String expectedName() throws Exception { return ChannelTabs.TRACKS.getNameId().name(); }
4242
@Override public String expectedId() throws Exception { return "10494998"; }
4343
@Override public String expectedUrlContains() throws Exception { return "https://soundcloud.com/liluzivert/tracks"; }
4444
@Override public String expectedOriginalUrlContains() throws Exception { return "https://soundcloud.com/liluzivert/tracks"; }
@@ -66,7 +66,7 @@ static void setUp() throws IOException, ExtractionException {
6666

6767
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
6868
@Override public StreamingService expectedService() throws Exception { return SoundCloud; }
69-
@Override public String expectedName() throws Exception { return ChannelTabs.PLAYLISTS; }
69+
@Override public String expectedName() throws Exception { return ChannelTabs.PLAYLISTS.getNameId().name(); }
7070
@Override public String expectedId() throws Exception { return "323371733"; }
7171
@Override public String expectedUrlContains() throws Exception { return "https://soundcloud.com/trackaholic/sets"; }
7272
@Override public String expectedOriginalUrlContains() throws Exception { return "https://soundcloud.com/trackaholic/sets"; }
@@ -87,7 +87,7 @@ static void setUp() throws IOException, ExtractionException {
8787

8888
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
8989
@Override public StreamingService expectedService() throws Exception { return SoundCloud; }
90-
@Override public String expectedName() throws Exception { return ChannelTabs.ALBUMS; }
90+
@Override public String expectedName() throws Exception { return ChannelTabs.ALBUMS.getNameId().name(); }
9191
@Override public String expectedId() throws Exception { return "4803918"; }
9292
@Override public String expectedUrlContains() throws Exception { return "https://soundcloud.com/bigsean-1/albums"; }
9393
@Override public String expectedOriginalUrlContains() throws Exception { return "https://soundcloud.com/bigsean-1/albums"; }

0 commit comments

Comments
 (0)