Remove "url cleanup" in Bandcamp link handlers

This commit is contained in:
Fynn Godau
2020-05-25 19:17:27 +02:00
parent 692b2d06f4
commit e08256ebc6
4 changed files with 6 additions and 16 deletions

View File

@@ -40,6 +40,7 @@ public class BandcampPlaylistLinkHandlerFactoryTest {
// Tests expecting true
assertTrue(linkHandler.acceptUrl("https://powertothequeerkids.bandcamp.com/album/power-to-the-queer-kids"));
assertTrue(linkHandler.acceptUrl("https://zachbenson.bandcamp.com/album/prom"));
assertTrue(linkHandler.acceptUrl("https://MACBENSON.BANDCAMP.COM/ALBUM/COMING-OF-AGE"));
}
}

View File

@@ -25,11 +25,6 @@ public class BandcampStreamLinkHandlerFactoryTest {
NewPipe.init(DownloaderTestImpl.getInstance());
}
@Test
public void testUrlCleanup() {
assertEquals("https://zachbenson.bandcamp.com/track/u-i-tonite", linkHandler.getUrl("http://ZachBenson.Bandcamp.COM/Track/U-I-Tonite/"));
}
@Test
public void testGetRadioUrl() {
assertEquals("https://bandcamp.com/?show=1", linkHandler.getUrl("1"));