private final Document document;
public HeldentageFilterTest() throws IOException {
- document = loadDocument("/comics/heldentage.html", "http://www.der-flix.de/");
+ document = loadDocument("heldentage.html", "http://www.der-flix.de/");
}
private Document loadDocument(String resourceName, String baseUri) throws IOException {
@Test
public void comicUrlCanBeFound() {
- assertThat(heldentageFilter.extractImageUrls(document), is(asList("/images/heldentage/Tag_908.jpg")));
+ assertThat(heldentageFilter.extractImageUrls(document), is(asList("/images/heldentage/Tag_916.jpg")));
}
@Test