Bandcmap channel extractor: fix getting banner url

This commit is contained in:
Fynn Godau
2019-12-22 01:05:34 +01:00
parent 7730eb2ea1
commit d5cdc20be1
2 changed files with 10 additions and 2 deletions

View File

@@ -39,4 +39,10 @@ public class BandcampChannelExtractorTest {
public void testLength() throws ParsingException {
assertTrue(extractor.getInitialPage().getItems().size() > 2);
}
@Test
public void testGetBannerUrl() throws ParsingException {
// Why is this picture in png format when all other pictures are jpg?
assertTrue(extractor.getBannerUrl().endsWith(".png"));
}
}