[SoundCloud] Add tests for api-v2 channel urls

This commit is contained in:
Stypox 2020-03-17 15:23:13 +01:00
parent c3d811fde5
commit 4b1121aac7
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ public class SoundcloudParsingHelperTest {
public void resolveUrlWithEmbedPlayerTest() throws Exception {
Assert.assertEquals("https://soundcloud.com/trapcity", SoundcloudParsingHelper.resolveUrlWithEmbedPlayer("https://api.soundcloud.com/users/26057743"));
Assert.assertEquals("https://soundcloud.com/nocopyrightsounds", SoundcloudParsingHelper.resolveUrlWithEmbedPlayer("https://api.soundcloud.com/users/16069159"));
Assert.assertEquals("https://soundcloud.com/trapcity", SoundcloudParsingHelper.resolveUrlWithEmbedPlayer("https://api-v2.soundcloud.com/users/26057743"));
Assert.assertEquals("https://soundcloud.com/nocopyrightsounds", SoundcloudParsingHelper.resolveUrlWithEmbedPlayer("https://api-v2.soundcloud.com/users/16069159"));
}
@Test