Changed ManganeloRipper unittest url to a smaller album, added test got getGid
This commit is contained in:
parent
265e131045
commit
42c5a7be3f
@ -7,7 +7,13 @@ import com.rarchives.ripme.ripper.rippers.ManganeloRipper;
|
|||||||
|
|
||||||
public class ManganeloRipperTest extends RippersTest {
|
public class ManganeloRipperTest extends RippersTest {
|
||||||
public void testRip() throws IOException {
|
public void testRip() throws IOException {
|
||||||
ManganeloRipper ripper = new ManganeloRipper(new URL("http://manganelo.com/manga/black_clover"));
|
ManganeloRipper ripper = new ManganeloRipper(new URL("https://manganelo.com/manga/demonic_housekeeper"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testGetGID() throws IOException {
|
||||||
|
URL url = new URL("https://manganelo.com/manga/demonic_housekeeper");
|
||||||
|
ManganeloRipper ripper = new ManganeloRipper(url);
|
||||||
|
assertEquals("demonic_housekeeper", ripper.getGID(url));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user