Skip to content

Commit 9a8169d

Browse files
committed
searchfilters: Test: adjust Bandcamp tests
1 parent 7b568fc commit 9a8169d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/bandcamp/BandcampChannelTabExtractorTest.java

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

3737
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
3838
@Override public StreamingService expectedService() throws Exception { return Bandcamp; }
39-
@Override public String expectedName() throws Exception { return ChannelTabs.TRACKS; }
39+
@Override public String expectedName() throws Exception { return ChannelTabs.TRACKS.getNameId().name(); }
4040
@Override public String expectedId() throws Exception { return "2464198920"; }
4141
@Override public String expectedUrlContains() throws Exception { return "https://wintergatan.bandcamp.com/track"; }
4242
@Override public String expectedOriginalUrlContains() throws Exception { return "https://wintergatan.bandcamp.com/track"; }
@@ -57,7 +57,7 @@ static void setUp() throws IOException, ExtractionException {
5757

5858
@Override public ChannelTabExtractor extractor() throws Exception { return extractor; }
5959
@Override public StreamingService expectedService() throws Exception { return Bandcamp; }
60-
@Override public String expectedName() throws Exception { return ChannelTabs.ALBUMS; }
60+
@Override public String expectedName() throws Exception { return ChannelTabs.ALBUMS.getNameId().name(); }
6161
@Override public String expectedId() throws Exception { return "2450875064"; }
6262
@Override public String expectedUrlContains() throws Exception { return "https://toupie.bandcamp.com/album"; }
6363
@Override public String expectedOriginalUrlContains() throws Exception { return "https://toupie.bandcamp.com/album"; }

0 commit comments

Comments
 (0)